/* ===================================
   Authentication Styles
==================================== */

/* Override base body styles for auth pages */
.auth-body {
    background: linear-gradient(135deg, #fdf2f8 0%, #fef7ed 50%, #f8fafc 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

.auth-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(251, 207, 232, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(254, 215, 170, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(253, 186, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.auth-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Simple login body styling */
.simple-login-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-login-body .auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Header */
.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 16px 24px;
    border: 1px solid rgba(251, 207, 232, 0.3);
}

.back-to-home {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(251, 207, 232, 0.3);
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(-2px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.1);
}

.back-icon {
    font-size: 16px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #1f2937;
}

/* Centered Logo for Auth Pages */
.auth-logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
    text-align: center;
}

.auth-logo-center .logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    transform: rotate(-45deg);
}

.logo-circle::before {
    content: '';
    width: 20px;
    height: 32px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    border-radius: 20px 20px 0 0;
    position: absolute;
    left: 20px;
    top: -10px;
}

.logo-circle::after {
    content: '';
    width: 20px;
    height: 32px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    border-radius: 20px 20px 0 0;
    position: absolute;
    right: 20px;
    top: -10px;
    transform: rotate(-90deg);
}

.logo-circle span {
    transform: rotate(45deg);
    z-index: 2;
    position: relative;
}

/* Make logo larger for centered version */
.auth-logo-center .logo-circle {
    width: 50px;
    height: 50px;
    font-size: 16px;
}

.auth-logo-center .logo-circle::before {
    width: 25px;
    height: 40px;
    left: 25px;
    top: -12px;
}

.auth-logo-center .logo-circle::after {
    width: 25px;
    height: 40px;
    right: 25px;
    top: -12px;
}

/* Form Container */
.auth-form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 207, 232, 0.3);
    box-shadow: 0 8px 32px rgba(244, 63, 94, 0.08);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(90deg, rgba(251, 207, 232, 0.3) 0%, rgba(251, 207, 232, 0.3) 100%);
}

/* Resend verification link button */
.resend-link-btn {
    background: transparent;
    color: #f43f5e;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
    padding: 0;
}

.resend-link-btn:hover {
    color: #e11d48;
    text-decoration: none;
}

/* Email verification styles */
.email-display {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    color: #f43f5e;
    font-family: monospace;
    font-size: 14px;
    margin-top: 8px;
    word-break: break-all;
}

.verification-instructions {
    margin: 30px 0;
}

.instruction-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.instruction-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.instruction-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.instruction-text p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.resend-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.resend-section p {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 14px;
}

.resend-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.resend-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

/* Result page styles */
.result-header {
    text-align: center;
    margin: 30px 0;
}

.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}

.result-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.result-icon.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

.result-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.result-message {
    text-align: center;
    margin: 24px 0 40px;
}

.result-message p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
    color: white;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(248, 250, 252, 0.8);
    color: #374151;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.secondary-btn:hover {
    background: white;
    border-color: rgba(244, 63, 94, 0.3);
    color: #f43f5e;
    transform: translateY(-1px);
}

.help-section {
    text-align: center;
    padding: 20px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    margin-bottom: 24px;
}

.help-section p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.help-section a {
    color: #f43f5e;
    font-weight: 500;
}

.help-section a:hover {
    text-decoration: underline;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Mobile responsive styles for verification pages */
@media (max-width: 480px) {
    .result-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .result-header h1 {
        font-size: 24px;
    }

    .result-message p {
        font-size: 15px;
    }

    .primary-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .instruction-item {
        margin-bottom: 20px;
    }
    
    .instruction-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 120px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(244, 63, 94, 0.1);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(244, 63, 94, 0.2);
}

.step.active .step-number {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: white;
    border-color: #f43f5e;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.step.completed .step-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
}

.step.active .step-label {
    color: #f43f5e;
    font-weight: 600;
}

.step.completed .step-label {
    color: #10b981;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.step-header {
    text-align: center;
    margin-bottom: 32px;
}

.step-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-header p {
    font-size: 16px;
    color: #6b7280;
}

/* Error Messages */
.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 15px;
    margin-bottom: 24px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.error-icon {
    font-size: 16px;
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(251, 207, 232, 0.3);
    border-radius: 15px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f43f5e;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-group input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
    display: block;
}

/* Template Selection */
.template-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.template-option {
    position: relative;
}

.template-option input[type="radio"] {
    display: none;
}

.template-card {
    display: block;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(251, 207, 232, 0.3);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.template-card:hover {
    border-color: rgba(244, 63, 94, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.15);
}

.template-option input:checked + .template-card {
    border-color: #f43f5e;
    background: rgba(244, 63, 94, 0.05);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.2);
}

.template-preview {
    width: 100px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.template-info p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 32px;
}

.btn-back {
    background: rgba(255, 255, 255, 0.9);
    color: #6b7280;
    border: 2px solid rgba(251, 207, 232, 0.3);
    padding: 12px 24px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 1);
    color: #374151;
    border-color: rgba(251, 207, 232, 0.5);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    flex: 1;
    max-width: 200px;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    background: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #c026d3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(251, 207, 232, 0.3);
}

.auth-switch p {
    color: #6b7280;
    margin: 0;
}

.auth-switch a {
    color: #f43f5e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #e11d48;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-container {
        max-width: 100%;
    }
    
    .auth-form-container {
        padding: 24px;
    }
    
    .auth-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .progress-steps {
        margin-bottom: 32px;
    }
    
    .step {
        max-width: 100px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .template-selection {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .template-preview {
        width: 80px;
        height: 100px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-next,
    .btn-submit {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .auth-body {
        padding: 12px;
    }
    
    .auth-form-container {
        padding: 20px;
    }
    
    .step-header h1 {
        font-size: 24px;
    }
    
    .step-header p {
        font-size: 14px;
    }
    
    .progress-steps::before {
        left: 20%;
        right: 20%;
    }
}

/* Simple Login Card Styles */
.simple-login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 48px 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 207, 232, 0.3);
    box-shadow: 0 8px 32px rgba(244, 63, 94, 0.08);
    width: 100% !important;
    max-width: 450px !important;
    min-width: 380px !important;
    margin: 0 auto;
}

/* Higher specificity for login and register forms */
.simple-login-body .auth-container .simple-login-card {
    max-width: 450px !important;
    min-width: 380px !important;
    width: 100% !important;
}

/* Comfortable width on larger screens */
@media (min-width: 768px) {
    .simple-login-card {
        max-width: 450px !important;
        min-width: 430px !important;
    }
    
    .simple-login-body .auth-container .simple-login-card {
        max-width: 450px !important;
        min-width: 430px !important;
    }
}

.simple-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.simple-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, opacity 0.8s ease;
    cursor: pointer;
}

.simple-logo .logo-link:hover {
    transform: scale(1.02);
    opacity: 0.85;
}

.simple-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.simple-header {
    text-align: center;
    margin-bottom: 32px;
}

.simple-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.auth-description {
    text-align: center;
    margin-bottom: 24px;
}

.auth-description p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.simple-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(251, 207, 232, 0.3);
    border-radius: 15px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    color: #374151;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #f43f5e;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
    background: rgba(255, 255, 255, 1);
}

.input-group input::placeholder {
    color: #9ca3af;
}

.signin-btn {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-top: 8px;
}

.signin-btn:hover {
    background: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #c026d3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.simple-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(251, 207, 232, 0.2);
}

.simple-footer p {
    color: #6b7280;
    margin: 0 0 8px 0;
    font-size: 14px;
}

.simple-footer p:last-child {
    margin-bottom: 0;
}

.simple-footer a {
    color: #f43f5e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.simple-footer a:hover {
    color: #e11d48;
}

/* Template Selection for Create Invitation */
.template-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.template-option {
    cursor: pointer;
    display: block;
}

.template-option input[type="radio"] {
    display: none;
}

.template-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid rgba(229, 231, 235, 0.5);
    border-radius: 12px;
    background: rgba(249, 250, 251, 0.5);
    transition: all 0.2s ease;
}

.template-card:hover {
    border-color: rgba(244, 63, 94, 0.3);
    background: rgba(244, 63, 94, 0.05);
}

.template-option input[type="radio"]:checked + .template-card {
    border-color: #f43f5e;
    background: rgba(244, 63, 94, 0.1);
    box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.2);
}

.template-emoji {
    font-size: 24px;
    flex-shrink: 0;
}

.template-info h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.template-info p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.input-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

@media (max-width: 480px) {
    .template-selection {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Simple Error Message */
.simple-login-card .error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 15px;
    margin-bottom: 24px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Mobile responsiveness for simple login */
@media (max-width: 480px) {
    .auth-body {
        padding: 16px;
    }
    
    .simple-login-card {
        padding: 32px 24px;
        max-width: none;
        width: 100%;
    }
    
    .simple-header h1 {
        font-size: 22px;
    }
    
    .input-group input {
        padding: 14px 16px;
    }
    
    .signin-btn {
        padding: 14px 24px;
    }
}

/* Simple Register Styles */
.simple-register-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.simple-register-body .auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-width: 1200px !important;
    width: 100% !important;
}

.simple-register-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px 32px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 207, 232, 0.3);
    box-shadow: 0 8px 32px rgba(244, 63, 94, 0.08);
    width: 100% !important;
    max-width: 580px !important;
    margin: 0 auto;
}

/* Force register card width with higher specificity */
    .simple-register-body .auth-container .simple-register-card {
        max-width: 580px !important;
        min-width: 580px !important;
    }
}

/* OAuth Section */
.oauth-section {
    margin-bottom: 24px;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.oauth-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.oauth-btn:active {
    transform: translateY(0);
}

.oauth-icon {
    flex-shrink: 0;
}

.google-btn {
    border-color: #e5e7eb;
}

.google-btn:hover {
    border-color: #4285f4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15);
}

.apple-btn {
    border-color: #e5e7eb;
    color: #1f2937;
}

.apple-btn:hover {
    border-color: #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1f2937;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    padding: 0 16px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    background: white;
}

/* Consolidated Global Privacy Notice */
.global-privacy-notice {
    margin-top: 24px;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(229, 231, 235, 0.3);
}

.global-privacy-notice p {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

.global-privacy-notice a {
    color: #f43f5e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.global-privacy-notice a:hover {
    color: #e11d48;
    text-decoration: underline;
}
}

/* Additional force for wider screens */
@media (min-width: 769px) {
    .simple-register-card {
        max-width: 580px !important;
        min-width: 580px !important;
    }
}

.simple-progress {
    margin-bottom: 32px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(251, 207, 232, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 33.33%;
}

.progress-text {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.simple-register-form {
    display: flex;
    flex-direction: column;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.step-title {
    text-align: center;
    margin-bottom: 24px;
}

.step-title h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(251, 207, 232, 0.3);
    border-radius: 15px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    color: #374151;
    box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #f43f5e;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
    background: rgba(255, 255, 255, 1);
}

.input-group input::placeholder {
    color: #9ca3af;
}

/* Validation Error Styles */
.input-group input.error,
.input-group select.error {
    border-color: #f87171 !important;
    background: rgba(254, 242, 242, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
    animation: shakeError 0.4s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.validation-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.04) 100%);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 15px;
    margin: 16px 0 24px 0;
    border: 1px solid rgba(239, 68, 68, 0.15);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
    animation: slideInError 0.3s ease;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.back-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    color: #6b7280;
    border: 2px solid rgba(251, 207, 232, 0.3);
    padding: 14px 20px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #374151;
    border-color: rgba(251, 207, 232, 0.5);
}

.next-btn,
.create-btn {
    flex: 2;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.next-btn:hover,
.create-btn:hover {
    background: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #c026d3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

/* Template Selection */
.template-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.template-option {
    cursor: pointer;
}

.template-option input[type="radio"] {
    display: none;
}

.template-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(251, 207, 232, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.template-option:hover .template-card {
    border-color: rgba(244, 63, 94, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.1);
}

.template-option input[type="radio"]:checked + .template-card {
    border-color: #f43f5e;
    background: rgba(244, 63, 94, 0.05);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
}

.template-emoji {
    font-size: 32px;
    margin-bottom: 12px;
}

.template-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.template-card p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* Mobile responsive for register */
@media (max-width: 768px) {
    .simple-register-card {
        padding: 32px 24px;
        max-width: 580px !important;
        margin: 16px;
    }
}

@media (max-width: 620px) {
    .simple-register-card {
        padding: 32px 24px;
        max-width: none !important;
        margin: 16px;
    }
    
    .input-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .back-btn,
    .next-btn,
    .create-btn {
        flex: none;
    }
}

/* Legal pages styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(251, 207, 232, 0.3);
}

.legal-header .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: transform 0.2s ease, opacity 0.8s ease;
}

.legal-header .logo-link:hover {
    transform: scale(1.02);
    opacity: 0.85;
}

.legal-header .logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-header h1 {
    font-size: 32px;
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 700;
}

.last-updated {
    color: #6b7280;
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

.legal-sections {
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(244, 63, 94, 0.2);
}

.legal-section h3 {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px 0;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-link {
    color: #f43f5e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #e11d48;
    text-decoration: underline;
}

.legal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(251, 207, 232, 0.3);
}

.legal-footer p {
    margin: 0;
}

/* Mobile responsive for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 24px 16px;
    }
    
    .legal-header h1 {
        font-size: 28px;
    }
    
    .legal-section h2 {
        font-size: 18px;
    }
    
    .legal-section ul {
        padding-left: 20px;
    }
}
