body {
    background-image: url(https://static.corinthians.com.br/img/bg-dark.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #212529;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a{
    color: var(--bs-body-color);
    text-decoration: underline!important;
}
.card, .table, .btn, input, a {
    border-radius: .3rem !important;
}
.btn{
    padding: 10px 12px!important;
    text-decoration:none!important;
}
.btn-link{
    text-decoration: underline!important;
}
.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.card-form {
    width: 100%;
    max-width: 480px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.card-form .card-body {
    padding: 2rem;
}
.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}
.logo-container img {
    height: 80px;
}
.btn-dark {
    background-color: #2a2a2a;
    border-color: #2a2a2a;
}
.btn-dark:hover, .btn-dark:active {
    background-color: #333;
    border-color: #333
}
.btn-outline-dark {
    color: #2a2a2a;
    border-color: #2a2a2a;
}
.btn-outline-dark:hover, .btn-dark:active {
    background-color: #2a2a2a;
    color: #fff;
    border-color: #2a2a2a
}
footer {
    background-color: #f1f1f1;
    padding: 15px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}
footer a {
    color: #333;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #000;
}
.form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}
.profile-card {
    max-width: 600px;
}
#toast-container.toast-top-center>div {
    width: 600px;
    max-width: 90%;
}
.toast-top-center {
    top: 20px;
}
#toast-container>.toast-warning {
    background-image: none!important;
}
#toast-container>.toast-info {
    background-image: none!important;
}
#toast-container>.toast-error {
    background-image: none!important;
}
#toast-container>.toast-success {
    background-image: none!important;
}
.toast-warning {
    background-color: #ffd746!important;
    opacity: 1!important;
    color: #725d20!important;
}
.toast-info, .toast-error, .toast-error, .toast-success{
    opacity: 1!important;
}
.toast-warning .toast-close-button {
    color: #725d20!important;
}

/* Theme toggle */
.theme-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1050;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background .2s, border-color .2s;
    padding: 0;
    line-height: 1;
}
.theme-toggle:hover {
    background: #e9ecef;
}
.theme-toggle .icon-dark  { display: none; }
.theme-toggle .icon-light { display: inline; }

/* Dark theme overrides */
[data-bs-theme="dark"] body {

}
[data-bs-theme="dark"] .card-form {
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
[data-bs-theme="dark"] .btn-dark {
    background-color: #f1f1f1;
    border-color: #f1f1f1;
    color: #000;
}
[data-bs-theme="dark"] .btn-dark:hover {
    background-color: #ccc;
    border-color: #ccc;
    color: #000;
}
[data-bs-theme="dark"] .btn-outline-dark {
    color: #f1f1f1;
    border-color: #757575;
}
[data-bs-theme="dark"] .btn-outline-dark:hover {
    background-color: #f1f1f1;
    color: #000;
}
[data-bs-theme="dark"] footer {
    background-color: #111;
    color: #999;
}
[data-bs-theme="dark"] footer a {
    color: #ccc;
}
[data-bs-theme="dark"] .form-floating > .form-control:focus ~ label,
[data-bs-theme="dark"] .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #ccc;
}
[data-bs-theme="dark"] .form-control:focus {
    border-color: #555;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.1);
}
[data-bs-theme="dark"] .theme-toggle {
    background: #2b2b2b;
    border-color: rgba(255,255,255,0.15);
}
[data-bs-theme="dark"] .theme-toggle:hover {
    background: #3a3a3a;
}
[data-bs-theme="dark"] .theme-toggle .icon-dark  { display: inline; }
[data-bs-theme="dark"] .theme-toggle .icon-light { display: none; }
