/* COMPONENTS CSS
---------------------------------------------------------- */

/* === LAYOUT COMPONENTS === */

/* Header Background */
@import url('/css/components/header-bg.css');

/* Header */
@import url('/css/components/header.css');

/* Footer */
@import url('/css/components/footer.css');

/* === NAVIGATION COMPONENTS === */
/* Navigation styles */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
}

/* Dropdown styles */
.dropdown-menu {
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    transition: background-color 0.15s ease-in-out;
}

/* === FORM COMPONENTS === */
/* Form control styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.input-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Custom checkbox */
.custom-checkbox {
    position: relative;
    padding-left: 1.5rem;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* === COMMON COMPONENTS === */
/* Card styles */
.card-component {
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Tab styles */
.tabs-component {
    margin-bottom: 1rem;
}

.tab-component {
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.tab-component.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

/* Modal styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal-component {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 0.375rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 1050;
    max-width: 500px;
    width: 100%;
}

/* === BUTTON COMPONENTS === */
/* Button styles */
.btn-primary {
    background-color: var(--theme-primary);
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #111827;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: background-color 0.15s ease-in-out;
}