/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 320px;
}

.notification {
    position: relative;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(400px);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.notification-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}

.notification-close:hover {
    color: rgba(0, 0, 0, 0.8);
}

.notification-icon {
    float: left;
    margin-right: 10px;
    font-size: 20px;
}

.notification-content {
    overflow: hidden;
}

.notification-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.notification-message {
    margin: 0;
    font-size: 14px;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

.notification-progress-bar {
    height: 100%;
    width: 100%;
    transition: width linear 3s;
}

.notification-success .notification-progress-bar {
    background-color: #28a745;
}

.notification-danger .notification-progress-bar {
    background-color: #dc3545;
}

.notification-warning .notification-progress-bar {
    background-color: #ffc107;
}

.notification-info .notification-progress-bar {
    background-color: #17a2b8;
}

/* Dark mode support */
[data-bs-theme="dark"] .notification-success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #9ce6b0;
}

[data-bs-theme="dark"] .notification-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #f5c6cb;
}

[data-bs-theme="dark"] .notification-warning {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffeeba;
}

[data-bs-theme="dark"] .notification-info {
    background-color: rgba(23, 162, 184, 0.2);
    color: #bee5eb;
}

/* Additional dark theme styles */
[data-bs-theme="dark"] {
    color-scheme: dark;
}

[data-bs-theme="dark"] .card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-bs-theme="dark"] .navbar {
    background-color: rgba(26, 26, 26, 0.95) !important;
    border-bottom: 1px solid rgba(201, 161, 74, 0.1);
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--dropdown-bg);
    border-color: var(--border-color);
}

[data-bs-theme="dark"] .dropdown-item {
    color: var(--dropdown-text);
}

[data-bs-theme="dark"] .dropdown-item:hover, 
[data-bs-theme="dark"] .dropdown-item:focus {
    background-color: var(--dropdown-item-hover-bg);
    color: var(--dropdown-text-hover);
}

[data-bs-theme="dark"] .text-muted {
    color: #b0b0b0 !important;
}

[data-bs-theme="dark"] footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

[data-bs-theme="dark"] .form-control {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-text);
}

[data-bs-theme="dark"] .form-control:focus {
    background-color: var(--input-bg);
    border-color: var(--input-focus-border);
    color: var(--input-text);
    box-shadow: 0 0 0 0.25rem var(--input-focus-shadow);
}

[data-bs-theme="dark"] .btn-outline-primary {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

[data-bs-theme="dark"] .btn-outline-primary:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

[data-bs-theme="dark"] .btn-outline-danger {
    color: #f5c6cb;
    border-color: #dc3545;
}

[data-bs-theme="dark"] .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* Fix for theme toggle switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 44px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-gold);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Footer Subscribe Form Styling */
.subscribe-form .input-group {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    overflow: hidden;
}

.subscribe-form .form-control {
    border-color: rgba(201, 161, 74, 0.3);
    transition: all 0.3s ease;
}

.subscribe-form .form-control:focus {
    border-color: var(--gold-accent);
    box-shadow: none;
}

.subscribe-btn {
    background: linear-gradient(135deg, #C9A14A, #FFD700);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #B8901A, #E5C100);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 161, 74, 0.3);
}

.subscribe-btn:active {
    transform: translateY(0);
}

/* Dark mode footer subscribe styling */
[data-bs-theme="dark"] .subscribe-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 161, 74, 0.3);
    color: #fff;
}

[data-bs-theme="dark"] .subscribe-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-accent);
}

[data-bs-theme="dark"] .subscribe-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
} 