/* Upseek Brand Guideline 2025 - Complete CSS Implementation */

/* Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* Note: You'll need to include Satoshi font separately as it's not available on Google Fonts */

:root {
    /* Primary Colors */
    --primary-blue: #1472C2;
    --blue-light: #008AFD;
    --blue-dark: #042A44;
    --white: #FFFFFF;
    
    /* Secondary Colors */
    --yellow: #E0D35C;
    --green-light: #B6CC56;
    --teal: #02BFAE;
    --gray-lightest: #EDEDED;
    --gray-darkest: #1B2326;
    --gray-dark: #455259;
    --gray-medium: #9EAEB5;
    --blue-accent: #7890C0;
    
    /* Text Colors */
    --body-text: var(--gray-darkest);
    --light-text: var(--gray-dark);
    
    /* Gradients */
    --section-gradient: linear-gradient(135deg, var(--gray-lightest), var(--white));

    /* Theme Variables - Default Light Theme */
    --background-color: var(--white);
    --text-color: var(--body-text);
    --header-color: var(--blue-dark);
    --card-background: var(--gray-lightest);
    --card-text: var(--gray-darkest);
    --footer-background: var(--gray-lightest);
}

/* Base Typography */
body {
    font-family: 'Satoshi', 'Inter', sans-serif;
    color: var(--body-text);
    background-color: var(--white);
    line-height: 1.5;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700; /* Bold */
    color: var(--header-color);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.35;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
}

p, li, span {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* Regular */
    color: var(--text-color);
}

a {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--blue-light);
    text-decoration: underline;
}

/* Button Styles */
.btn-primary, .cta-button, .custom-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(20, 114, 194, 0.25);
    text-decoration: none;
}

/* Enrollment Modal Styles */
.enroll-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(46, 110, 234, 0.15);
    background-color: #fff;
}

.enroll-modal .modal-header {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
    border-bottom: none;
}

.enroll-modal .modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
}

.enroll-modal .btn-close {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
}

.enroll-modal .modal-body {
    padding: 2rem 1.5rem;
}

.enroll-modal .form-group {
    margin-bottom: 1.5rem;
}

.enroll-modal label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--body-text);
    margin-bottom: 0.5rem;
    display: block;
}

.enroll-modal .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #E0E5EC;
    font-family: 'Poppins', sans-serif;
    color: var(--body-text);
    transition: all 0.3s ease;
}

.enroll-modal .form-control:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(107, 159, 255, 0.25);
}

.enroll-modal .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.enroll-modal .invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.enroll-modal .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
    /* justify-content: space-between; */
}

.enroll-modal .btn {
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.enroll-modal .btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 1px solid #E0E5EC;
}

.enroll-modal .btn-secondary:hover {
    background-color: #f8f9fa;
    color: var(--body-text);
}

.enroll-modal .btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.enroll-modal .btn-primary:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
}

/* Snackbar for submission response */
.enroll-snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1060;
    left: 50%;
    bottom: 30px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.enroll-snackbar.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.enroll-snackbar.error {
    background-color: #dc3545;
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .enroll-modal .modal-body {
        padding: 1.5rem 1rem;
    }
    
    .enroll-modal .form-group {
        margin-bottom: 1rem;
    }
    
    .enroll-modal .modal-footer {
        /* flex-direction: column; */
        gap: 0.75rem;
    }
    
    .enroll-modal .btn {
        width: 100%;
    }
}