/* Custom Auth Page Styles for Powerpuff Logo */

/* Dark mode background color */
.dark-mode .bg-white {
    background-color: #312121 !important;
}

/* Auth container width - уменьшаем отступ слева */
@media (min-width: 992px) {
    .nk-auth-container {
        width: 25% !important;
    }
}

/* Nav tabs active state */
.nav-tabs li a.active,
.nav-tabs .nav-link.active {
    border-bottom: 1px solid #f8b700 !important;
    color: #f8b700 !important;
    font-weight: bold !important;
}

.nav-tabs .nav-link.active:after {
    background: #f8b700 !important;
    opacity: 1 !important;
}

/* Primary button */
.btn-primary {
    background-color: #f8b700 !important;
    border-color: #f8b700 !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e6a500 !important;
    border-color: #e6a500 !important;
    color: #fff !important;
}

/* Blue text links on auth pages */
.nk-auth-container a,
.nk-auth-container .link-primary,
.nk-auth-container .text-primary,
.nk-auth-container .form-note-s2 a {
    color: #f8b700 !important;
}

.nk-auth-container a:hover,
.nk-auth-container .link-primary:hover {
    color: #e6a500 !important;
}

/* Checkbox color - меняем фиолетовый на цвет кнопки */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #f8b700 !important;
    border-color: #f8b700 !important;
}

.custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e") !important;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(248, 183, 0, 0.25) !important;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #f8b700 !important;
}

.nk-footer-links-auth-logo {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10 !important;
}

.powerpuff-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: opacity 0.3s ease !important;
    padding: 10px 15px !important;
}

.nk-split-content.nk-split-stretch.man-auth {
    position: relative !important;
}

.powerpuff-link:hover {
    opacity: 0.8 !important;
    text-decoration: none !important;
}

.powerpuff-logo {
    max-width: 40px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.powerpuff-text-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
}

.powerpuff-text-line {
    font-family: serif !important;
    font-size: 14px !important;
    color: #f7b10a !important;
    text-align: left !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.powerpuff-text-bold {
    font-weight: 600 !important;
    font-size: 16px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .powerpuff-logo {
        max-width: 40px !important;
        max-height: 60px !important;
    }
    
    .powerpuff-text-line {
        font-size: 12px !important;
    }
    
    .powerpuff-text-bold {
        font-size: 14px !important;
    }
    
    .powerpuff-link {
        gap: 10px !important;
    }
}
