/* Auth Page Specific Styles */
.auth-container {
    min-height: 100vh;
    padding-top: 80px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Left Side - Branding */
.auth-branding {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.branding-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.branding-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.branding-headline {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.branding-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.branding-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    opacity: 0.9;
}

.feature-item i {
    width: 24px;
    font-size: 1.2rem;
}

/* Right Side - Forms */
.auth-forms {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-form {
    width: 100%;
    max-width: 400px;
    display: none;
    animation: slideIn 0.3s ease-out;
}

.auth-form.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #666;
    font-size: 1rem;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.form-label i {
    color: #2563eb;
    width: 16px;
}

.form-input {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Role Selection */
.role-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.role-option {
    cursor: pointer;
}

.role-radio {
    display: none;
}

.role-card {
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9fafb;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.role-card:hover {
    border-color: #2563eb;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

.role-radio:checked + .role-card {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.role-icon {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.role-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.role-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.role-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
}

.price-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.forgot-link {
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Button Styles */
.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.link {
    color: #2563eb;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Registration Screen Styles */
.registration-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wallet-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wallet-info i {
    font-size: 1.5rem;
    color: #2563eb;
}

.wallet-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wallet-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.wallet-address {
    font-size: 0.9rem;
    color: #1a1a1a;
    font-family: 'Courier New', monospace;
}

.balance-display {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
}

.balance-item {
    text-align: center;
}

.balance-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.fee-breakdown {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.fee-item:last-child {
    border-bottom: none;
}

.fee-label {
    font-weight: 500;
    color: #333;
}

.fee-amount {
    font-weight: 600;
    color: #667eea;
}

.premium-option {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.premium-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.premium-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.premium-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
}

.premium-title i {
    color: #f59e0b;
}

.premium-description {
    font-size: 0.85rem;
    color: #666;
}

.premium-price {
    font-weight: 700;
    color: #f59e0b;
    font-size: 1.1rem;
}

.fee-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0;
    border-top: 2px solid #667eea;
    margin-top: 1rem;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.registration-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    font-weight: 500;
    min-width: 300px;
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #e74c3c;
}

.notification.warning {
    background: #f39c12;
}

.notification::before {
    content: '✓';
    font-size: 1.2rem;
    font-weight: bold;
}

.notification.error::before {
    content: '✕';
}

.notification.warning::before {
    content: '⚠';
}

/* Responsive Design */
@media (max-width: 968px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        margin: 1rem;
    }
    
    .auth-branding {
        padding: 2rem;
        text-align: center;
    }
    
    .branding-headline {
        font-size: 1.5rem;
    }
    
    .branding-features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-wrapper {
        margin: 0;
        border-radius: 16px;
    }
    
    .auth-branding,
    .auth-forms {
        padding: 2rem 1.5rem;
    }
    
    .role-selection {
        grid-template-columns: 1fr;
    }
    
    .wallet-status {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .premium-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .notification {
        right: 1rem;
        left: 1rem;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .form-title {
        font-size: 1.5rem;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .branding-headline {
        font-size: 1.25rem;
    }
    
    .role-card {
        padding: 1rem;
    }
    
    .role-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}