@import url('https://rsms.me/inter/inter.css');

:root {
    --tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.btn-primary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    padding: 0.5rem;
    font-weight: 500;
}

.form-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2e5788;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.form-container {
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 1rem;
}

/* Scrollbar styling */
.form-container::-webkit-scrollbar {
    width: 6px;
}

.form-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.form-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.form-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-container {
        max-height: 55vh;
    }

    .form-section {
        padding: 1rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .btn-primary {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .container-tight {
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-section-title {
        font-size: 1.1rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    input,
    select,
    textarea {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Form element styling */
.form-select,
.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select:focus,
.form-control:focus {
    border-color: #2e5788;
    box-shadow: 0 0 0 0.2rem rgba(46, 87, 136, 0.25);
}

textarea.form-control {
    min-height: 100px;
}

.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container img {
    max-height: 80px;
    width: auto;
}
