/* Full page center */
#create-account-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fc 0%, #e9ecef 100%);
    padding: 30px;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    width: 100%;
    max-width: 580px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeUp 0.6s ease;
    border: 1px solid #e8ecef;
}

@keyframes fadeUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

h3 {
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    font-size: 32px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #64748b;
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 500;
}

.account-type-selection {
    margin: 40px 0;
}

.account-type-card {
    background: #ffffff;
    padding: 0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    align-items: center;
}

.account-type-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.account-type-card.selected {
    border-color: #3b82f6;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.account-type-radio {
    position: absolute;
    opacity: 0;
}

.account-type-content {
    padding: 30px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.account-type-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-type-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D04A0E;
    color: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.account-type-card.selected .account-type-icon {
    background: #3b82f6;
    color: #ffffff;
    transform: scale(1.05);
}

.account-type-card:hover .account-type-icon {
    background: #b53d0c;
    color: #ffffff;
    transform: scale(1.05);
}

.account-type-card.selected:hover .account-type-icon {
    background: #2563eb;
    color: #ffffff;
}

.account-type-text {
    flex: 1;
}

.account-type-text h5 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.account-type-desc {
    margin: 0;
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    font-weight: 400;
}

/* Selection Indicator */
.selection-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #3b82f6 transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.selection-indicator::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: -42px;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* Divider */
.divider {
    margin: 35px 0;
    position: relative;
    text-align: center;
}

.divider span {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.existing-account {
    margin-top: 10px;
    font-size: 16px;
    color: #475569;
    font-weight: 500;
}

.existing-account a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.existing-account a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Focus styles for accessibility */
.account-type-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    #create-account-section {
        padding: 20px;
        align-items: flex-start;
        min-height: calc(100vh - 40px);
    }
    
    .login-card {
        padding: 40px 30px;
        border-radius: 16px;
        max-width: 500px;
    }
    
    h3 {
        font-size: 28px;
    }
    
    .account-type-card {
        min-height: 130px;
    }
    
    .account-type-content {
        padding: 25px;
        gap: 20px;
    }
    
    .account-type-icon {
        width: 70px;
        height: 70px;
        border-radius: 14px;
    }
    
    .account-type-text h5 {
        font-size: 20px;
    }
    
    .account-type-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    .account-type-card {
        min-height: 120px;
    }
    
    .account-type-content {
        padding: 20px;
        gap: 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .account-type-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    
    .account-type-text h5 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .account-type-desc {
        font-size: 13px;
    }
    
    .selection-indicator {
        border-width: 0 40px 40px 0;
    }
    
    .selection-indicator::after {
        top: 6px;
        right: -34px;
        font-size: 14px;
    }
}