/* Auth Page Style Overrides - Change from Blue to Green Theme */

:root {
    --auth-primary: #39d353;
    --auth-primary-hover: #2ba842;
    --auth-primary-dark: #239536;
    --auth-primary-light: rgba(57, 211, 83, 0.1);
    --auth-primary-border: rgba(57, 211, 83, 0.2);
}

/* Override Bootstrap Primary Button Colors */
.btn-primary {
    background-color: var(--auth-primary) !important;
    border-color: var(--auth-primary) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--auth-primary-hover) !important;
    border-color: var(--auth-primary-hover) !important;
    color: white !important;
    box-shadow: 0 0 0 0.25rem var(--auth-primary-border) !important;
}

.btn-primary:active,
.btn-primary.active {
    background-color: var(--auth-primary-dark) !important;
    border-color: var(--auth-primary-dark) !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: var(--auth-primary) !important;
    border-color: var(--auth-primary) !important;
    opacity: 0.65;
}

/* Override link colors */
.link-primary {
    color: var(--auth-primary) !important;
}

.link-primary:hover,
.link-primary:focus {
    color: var(--auth-primary-hover) !important;
}

/* Override form focus colors */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--auth-primary) !important;
    box-shadow: 0 0 0 0.25rem var(--auth-primary-border) !important;
}

.form-check-input:checked {
    background-color: var(--auth-primary) !important;
    border-color: var(--auth-primary) !important;
}

/* Alert success should use green */
.alert-success {
    background-color: var(--auth-primary-light) !important;
    border-color: var(--auth-primary-border) !important;
    color: var(--auth-primary-dark) !important;
}

/* Fix button hover effect issue - ensure visible contrast */
.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
    color: white !important;
}

/* All other button types should have proper hover effects */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
}

/* Ensure all buttons have visible hover states */
.btn-outline-primary {
    color: var(--auth-primary) !important;
    border-color: var(--auth-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--auth-primary) !important;
    border-color: var(--auth-primary) !important;
    color: white !important;
}

.btn-outline-secondary {
    color: #6c757d !important;
    border-color: #6c757d !important;
}

.btn-outline-secondary:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

/* Fix for danger/warning/info buttons */
.btn-danger:hover {
    background-color: #bd2130 !important;
    border-color: #b21f2d !important;
}

.btn-warning:hover {
    background-color: #e0a800 !important;
    border-color: #d39e00 !important;
}

.btn-info:hover {
    background-color: #117a8b !important;
    border-color: #10707f !important;
}

/* Ensure link buttons have proper hover states */
.btn-link {
    color: var(--auth-primary) !important;
    text-decoration: none;
}

.btn-link:hover {
    color: var(--auth-primary-hover) !important;
    text-decoration: underline;
}

/* Custom button styles for the application */
.btn-custom {
    background-color: var(--auth-primary);
    border-color: var(--auth-primary);
    color: white;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--auth-primary-hover);
    border-color: var(--auth-primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(57, 211, 83, 0.3);
}