body {
    background-color: #f4f2ee;
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.selection-card {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.selection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.selection-active {
    border-color: #3b82f6;
    border-width: 2px;
    background-color: #eff6ff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15), 0 2px 6px rgba(59, 130, 246, 0.1);
}

.trait-selected {
    border-color: #16a34a !important;
    border-width: 2px !important;
    background-color: #dcfce7 !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3) !important;
}

.feeling-card {
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.feeling-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feeling-selected {
    border-color: #3b82f6 !important;
    border-width: 2px !important;
    background-color: #eff6ff;
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5), 0 6px 18px rgba(59, 130, 246, 0.3);
}

.feeling-card:hover {
    border-color: #3b82f6;
    border-width: 2px;
}

.feeling-selected .text-3xl {
    transform: scale(1.1);
}

.feeling-selected .font-semibold {
    font-weight: 700;
}



.color-swatch {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.color-swatch:hover {
    transform: scale(1.05);
}

.slider {
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.profile-banner {
    width: 100%;
    height: 0;
    padding-bottom: 25%;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.profile-banner-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.profile-photo-wrapper {
    position: relative;
    margin-left: 24px;
    margin-top: -112px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    background-color: #f3f4f6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.linkedin-preview {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transform: scale(1);
    transform-origin: top center;
    transition: transform 0.3s ease;
}

.linkedin-preview:hover {
    transform: scale(1.01);
}

.profile-info {
    padding: 40px 24px 24px;
    background-color: white;
    margin-top: -24px;
}



.font-preview {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.font-preview:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.font-sample {
    margin-bottom: 12px;
}

.font-name {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.font-description {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}

.font-inter { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-roboto { font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-open-sans { font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-lato { font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-source-sans { font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-nunito { font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-poppins { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-montserrat { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-manrope { font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-garamond { font-family: 'EB Garamond', serif; }
.font-playfair { font-family: 'Playfair Display', serif; }
.font-baloo { font-family: 'Baloo 2', cursive; }
.font-quicksand { font-family: 'Quicksand', sans-serif; }
.font-oswald { font-family: 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-bebas { font-family: 'Bebas Neue', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-anton { font-family: 'Anton', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-work-sans { font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-comfortaa { font-family: 'Comfortaa', cursive; }
.font-cormorant { font-family: 'Cormorant Garamond', serif; }
.font-crimson { font-family: 'Crimson Text', serif; }
.font-rubik { font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-ibm-plex { font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-raleway { font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-exo { font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif; }

/* New Brand Feeling Fonts */
.font-archivo-black { font-family: 'Archivo Black', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-bowlby { font-family: 'Bowlby One', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-hind { font-family: 'Hind', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-dm-sans { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-chewy { font-family: 'Chewy', cursive; }
.font-comic-neue { font-family: 'Comic Neue', cursive; }
.font-fredoka { font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-patrick-hand { font-family: 'Patrick Hand', cursive; }
.font-lora { font-family: 'Lora', serif; }
.font-cinzel { font-family: 'Cinzel', serif; }
.font-varela-round { font-family: 'Varela Round', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-chakra-petch { font-family: 'Chakra Petch', -apple-system, BlinkMacSystemFont, sans-serif; }

/* Additional Best Google Fonts */
.font-merriweather { font-family: 'Merriweather', serif; }
.font-pt-sans { font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-ubuntu { font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-droid-sans { font-family: 'Droid Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-libre-baskerville { font-family: 'Libre Baskerville', serif; }
.font-arimo { font-family: 'Arimo', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-pt-serif { font-family: 'PT Serif', serif; }
.font-droid-serif { font-family: 'Droid Serif', serif; }
.font-noto-sans { font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-titillium { font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-cabin { font-family: 'Cabin', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-fjalla { font-family: 'Fjalla One', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-bitter { font-family: 'Bitter', serif; }
.font-arvo { font-family: 'Arvo', serif; }
.font-vollkorn { font-family: 'Vollkorn', serif; }
.font-karla { font-family: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-fira-sans { font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-libre-franklin { font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-muli { font-family: 'Muli', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-oxygen { font-family: 'Oxygen', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-source-serif { font-family: 'Source Serif Pro', serif; }
.font-crimson-pro { font-family: 'Crimson Pro', serif; }
.font-dm-sans { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-space-grotesk { font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-plus-jakarta { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; }

.tooltip {
    position: absolute;
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 100;
    pointer-events: none;
    white-space: nowrap;
}

.processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 20;
}

.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Cropper Styles */
#crop-area {
    position: relative;
    user-select: none;
    overflow: hidden;
}

#crop-overlay {
    position: absolute;
    border: 2px solid #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    cursor: move;
    transition: none;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

#crop-overlay:hover {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.15);
}

.crop-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 10;
}

.crop-handle:hover {
    background: #2563eb;
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.crop-handle.nw {
    top: -6px;
    left: -6px;
    cursor: nw-resize;
}

.crop-handle.ne {
    top: -6px;
    right: -6px;
    cursor: ne-resize;
}

.crop-handle.sw {
    bottom: -6px;
    left: -6px;
    cursor: sw-resize;
}

.crop-handle.se {
    bottom: -6px;
    right: -6px;
    cursor: se-resize;
}

.crop-handle.n {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    cursor: n-resize;
}

.crop-handle.s {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    cursor: s-resize;
}

.crop-handle.w {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: w-resize;
}

.crop-handle.e {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: e-resize;
}

/* Circle preview overlay */
.circle-preview-overlay {
    position: absolute;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    opacity: 0.8;
    z-index: 5;
}

/* Smooth transitions */
.crop-preview-container {
    transition: all 0.3s ease;
}

.crop-preview-container:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .profile-photo-wrapper {
        width: 140px;
        height: 140px;
        margin-top: -100px;
    }
    
    .profile-info {
        padding-top: 60px;
    }
    .profile-banner {
        padding-bottom: 40%;
    }
}