/* Custom styles for Пари project */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #ffffff !important;
}

main {
    flex: 1;
}

/* Dark theme adjustments */
.bg-secondary {
    background-color: #212529 !important;
}

.card.bg-secondary {
    background-color: #2c3034 !important;
}

.text-muted {
    color: #adb5bd !important;
}

.border-secondary {
    border-color: #495057 !important;
}

/* Ensure all text is light/white */
body, p, h1, h2, h3, h4, h5, h6, .card-title, .card-body, label, .lead, strong {
    color: #ffffff !important;
}

/* Override Bootstrap text-dark to be light */
.text-dark {
    color: #ffffff !important;
}

/* Form controls dark theme */
.form-control {
    background-color: #343a40;
    border-color: #495057;
    color: #fff;
}

.form-control:focus {
    background-color: #495057;
    border-color: #ffc107;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.form-select {
    background-color: #343a40;
    border-color: #495057;
    color: #fff;
}

.form-select:focus {
    background-color: #495057;
    border-color: #ffc107;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Dropdown dark theme */
.dropdown-menu-dark {
    background-color: #343a40;
    border-color: #495057;
}

.dropdown-item:hover {
    background-color: #495057;
}

/* Accordion dark theme */
.accordion-item {
    background-color: #2c3034;
    border-color: #495057;
}

.accordion-button {
    background-color: #2c3034;
    color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: #343a40;
    color: #fff;
}

.accordion-body {
    background-color: #343a40;
}

/* Links */
a {
    color: #ffc107;
    text-decoration: none;
}

a:hover {
    color: #ffca2c;
}

/* Buttons */
.btn-outline-light:hover {
    color: #000;
}

/* Navbar */
.navbar-brand:hover {
    color: #ffc107 !important;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-brand {
    transition: opacity 0.3s;
}

.navbar-brand:hover {
    opacity: 0.8;
}

/* Landing page logo text */
.hero-logo-text {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: inline-block;
}

.logo-parito {
    color: #ffc107;
    text-shadow: 
        0 0 10px rgba(255, 193, 7, 0.5),
        0 0 20px rgba(255, 193, 7, 0.3),
        0 0 30px rgba(255, 193, 7, 0.2);
    background: linear-gradient(135deg, #ffc107 0%, #ffd54f 50%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.logo-fun {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-left: 2px;
}

@media (max-width: 768px) {
    .hero-logo-text {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-logo-text {
        font-size: 2.5rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #212529;
}

::-webkit-scrollbar-thumb {
    background: #495057;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6268;
}

/* Password toggle button */
.password-toggle {
    cursor: pointer;
    color: #adb5bd !important;
    transition: color 0.2s;
    text-decoration: none !important;
}

.password-toggle:hover {
    color: #ffc107 !important;
}

.password-toggle:focus {
    outline: none;
    box-shadow: none;
}

/* Password input with toggle */
.password-input {
    padding-right: 2.5rem !important;
}

/* Form checkboxes dark theme */
.form-check-input {
    background-color: #343a40;
    border-color: #495057;
}

.form-check-input:checked {
    background-color: #ffc107;
    border-color: #ffc107;
}

.form-check-input:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.form-check-label a {
    text-decoration: underline;
}

.form-check-label a:hover {
    color: #ffca2c !important;
}

/* Modal dark theme */
.modal-content {
    background-color: #2c3034 !important;
    border-color: #495057 !important;
}

.modal-header {
    border-bottom-color: #495057 !important;
}

.modal-footer {
    border-top-color: #495057 !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.modal-body a {
    text-decoration: underline;
}

.modal-body a:hover {
    color: #ffca2c !important;
}
