/* YourApps Framework - Shared Common Styles */
/* Gedeelde stijlen voor alle apps in het YourApps framework */
/* Wordt geladen NA bootstrap en VÓR app-specifieke styles */

/* ============================================================
   Button Styles - YourHosting Official Style
   ============================================================ */

.btn-custom {
    background-color: #ff665e !important;
    border: 0 !important;
    color: #FFFFFF !important;
    border-radius: 30px !important;
    font-weight: bold !important;
    padding: 0.5rem 2rem !important;
    transition-duration: 0.4s;
    transition-property: all;
}

.btn-custom:hover {
    background-color: #ff665e !important;
    transform: translateY(-5px);
    box-shadow: 3.2px 3.2px 4.8px rgba(0, 0, 0, 0.024),
                8.8px 8.8px 12px rgba(0, 0, 0, 0.035),
                21.1px 21.1px 26.3px rgba(0, 0, 0, 0.046),
                70px 70px 80px rgba(0, 0, 0, 0.07) !important;
}

/* Alle Bootstrap buttons krijgen afgeronde hoeken (YourHosting stijl) */
.btn,
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-secondary,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-info,
.btn-outline-secondary {
    border-radius: 30px !important;
    font-weight: 600;
}

/* Outline buttons */
.btn-outline-primary,
.btn-outline-success,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-info,
.btn-outline-secondary {
    border-width: 2px !important;
    transition-duration: 0.3s;
    transition-property: all;
}

/* Primary button: salmon (#ff665e) */
.btn-primary {
    background-color: #ff665e !important;
    border-color: #ff665e !important;
    border: 0 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #ff665e !important;
    border-color: #ff665e !important;
    transform: translateY(-3px);
    box-shadow: 3.2px 3.2px 4.8px rgba(0, 0, 0, 0.024),
                8.8px 8.8px 12px rgba(0, 0, 0, 0.035),
                21.1px 21.1px 26.3px rgba(0, 0, 0, 0.046),
                70px 70px 80px rgba(0, 0, 0, 0.07) !important;
}

/* Outline primary: salmon border + text */
.btn-outline-primary {
    border-color: #ff665e !important;
    color: #ff665e !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover {
    background-color: #ff665e !important;
    border-color: #ff665e !important;
    color: white !important;
    transform: translateY(-2px);
}

/* ============================================================
   Form Controls
   ============================================================ */

.form-control {
    border-radius: 30px;
    border: 0;
    background-color: #f5f3ee;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: auto;
}

.form-control:focus {
    border-color: #ff665e;
    box-shadow: 0 0 0 3px rgba(255, 102, 94, 0.15);
    background-color: #fff;
    outline: none;
}

.form-select {
    border-radius: 30px;
}

/* ============================================================
   Password Toggle
   ============================================================ */

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper .form-control {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    z-index: 5;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: #ff665e;
}

/* ============================================================
   Card Styling
   ============================================================ */

.card {
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

/* ============================================================
   Background-primary override → salmon
   (badges, timeline markers, progress bars, etc.)
   ============================================================ */

.bg-primary {
    background-color: #ff665e !important;
}

/* ============================================================
   Nav-tabs: active tab krijgt salmon styling
   ============================================================ */

.nav-tabs .nav-link {
    color: #6c757d;
    border-radius: 0;
}

.nav-tabs .nav-link:hover {
    color: #ff665e;
    border-color: transparent transparent #dee2e6 transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #ff665e !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
    border-bottom-color: #fff !important;
    font-weight: 600;
}

/* Nav-tabs bottom border indicator */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

/* ============================================================
   Nav-pills: active pill krijgt salmon achtergrond
   ============================================================ */

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #ff665e !important;
    color: #fff !important;
}

.nav-pills .nav-link {
    color: #6c757d;
}

.nav-pills .nav-link:hover {
    color: #ff665e;
    background-color: rgba(255, 102, 94, 0.1);
}

/* ============================================================
   Accordion: focus/active kleur salmon
   ============================================================ */

.accordion-button:not(.collapsed) {
    color: #ff665e !important;
    background-color: rgba(255, 102, 94, 0.08) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 102, 94, 0.2) !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 94, 0.25) !important;
}
