﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* GLOBAL RESET AND BASE STYLES */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #000000;
}

#app {
    flex: 1 0 auto;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* PAGE LAYOUT */
.page {
    position: relative;
    display: flex;
    flex-direction: row;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    flex: 1;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #000000;
    min-height: 100vh;
}

article {
    flex: 1;
    padding: 2rem;
    background-color: #000000;
    min-height: calc(100vh - 4rem);
}

/* SIDEBAR - RESPONSIVE FOR ALL SCREEN SIZES */
.sidebar {
    background: linear-gradient(180deg, #000000 0%, #1a0a1a 30%, #0a0a0a 100%);
    box-shadow: 2px 0 15px rgba(220, 38, 57, 0.2);
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-right: 1px solid rgba(220, 38, 57, 0.3);
    overflow-y: auto;
    transition: transform 0.3s ease;
    transform: translateX(-100%); /* Hidden by default */
}

/* Show sidebar when it has the 'show' class */
.sidebar.show {
    transform: translateX(0);
}

/* ADJUST MAIN CONTENT BASED ON SIDEBAR STATE */
.page main {
    margin-left: 0;
    width: 100%;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

/* When sidebar is open, adjust main content */
.sidebar.show ~ main {
    transition: margin-left 0.3s ease, width 0.3s ease;
}

/* TOP ROW - ALWAYS FULL WIDTH */
.top-row {
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(220, 38, 57, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    justify-content: space-between;
    height: 4rem;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    transition: margin-left 0.3s ease, width 0.3s ease; /* Add transition */
}

/* NAVBAR TOGGLER - ALWAYS VISIBLE */
.navbar-toggler {
    background: linear-gradient(135deg, rgba(220, 38, 57, 0.2), rgba(220, 38, 57, 0.1));
    border: 1px solid rgba(220, 38, 57, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #ffffff;
    display: block; /* Always show */
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.navbar-toggler:hover {
    background: linear-gradient(135deg, rgba(220, 38, 57, 0.3), rgba(220, 38, 57, 0.2));
    border-color: rgba(220, 38, 57, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(220, 38, 57, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

/* ARTICLE CONTENT */
article {
    flex: 1;
    padding: 2rem;
    background-color: #000000;
    min-height: calc(100vh - 4rem);
}

/* OVERLAY FOR MOBILE */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* Show overlay when sidebar is open on smaller screens */
@media (max-width: 1024px) {
    .sidebar.show + .sidebar-overlay {
        display: block;
    }
    
    /* On smaller screens, main content doesn't adjust */
    .sidebar.show ~ main {
        margin-left: 0;
        width: 100%;
    }
}

/* LARGER SCREENS - OPTION TO KEEP SIDEBAR OPEN */
@media (min-width: 1025px) {
    /* You can add a class to keep sidebar permanently open on large screens if desired */
    .sidebar.persistent {
        transform: translateX(0);
    }
    
    .sidebar.persistent ~ main {
        margin-left: 280px;
        width: calc(100% - 280px);
    }
}

/* BUTTON STYLES - Updated to match navigation style */
button, 
.btn, 
input[type="button"], 
input[type="submit"] {
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease; /* Increased transition time for smoother effect */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background: transparent; /* Start with transparent background */
}

/* PRIMARY BUTTONS */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
    color: #dc2639;
    border-color: #dc2639;
    background: transparent;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
button.btn-primary:hover,
button.btn-primary:focus,
button.btn-primary:active {
    background: linear-gradient(135deg, #dc2639, #b01e2e);
    border-color: #dc2639;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 57, 0.3);
}

/* SECONDARY BUTTONS */
.btn-secondary,
button.btn-secondary {
    color: #ffffff;
    border-color: #6c757d;
    background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
button.btn-secondary:hover,
button.btn-secondary:focus,
button.btn-secondary:active {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    border-color: #6c757d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* SUCCESS BUTTONS - Keep green for "Start" buttons */
.btn-success,
button.btn-success,
.btn[data-action="start"],
button[data-action="start"],
.btn:contains("Start"),
button:contains("Start") {
    color: #28a745;
    border-color: #28a745;
    background: transparent;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
button.btn-success:hover,
button.btn-success:focus,
button.btn-success:active,
.btn[data-action="start"]:hover,
button[data-action="start"]:hover {
    background: linear-gradient(135deg, #28a745, #20833a);
    border-color: #28a745;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Force START buttons to be green regardless of other classes */
button:contains("START"),
.btn:contains("START"),
button:contains("Start"),
.btn:contains("Start"),
[data-action="start"] {
    color: #28a745 !important;
    border-color: #28a745 !important;
    background: transparent !important;
}

button:contains("START"):hover,
.btn:contains("START"):hover,
button:contains("Start"):hover,
.btn:contains("Start"):hover,
[data-action="start"]:hover {
    background: linear-gradient(135deg, #28a745, #20833a) !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

/* WARNING BUTTONS */
.btn-warning,
button.btn-warning {
    color: #ffc107;
    border-color: #ffc107;
    background: transparent;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
button.btn-warning:hover,
button.btn-warning:focus,
button.btn-warning:active {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    border-color: #ffc107;
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* DANGER BUTTONS */
.btn-danger,
button.btn-danger {
    color: #dc3545;
    border-color: #dc3545;
    background: transparent;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
button.btn-danger:hover,
button.btn-danger:focus,
button.btn-danger:active {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-color: #dc3545;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* INFO BUTTONS */
.btn-info,
button.btn-info {
    color: #17a2b8;
    border-color: #17a2b8;
    background: transparent;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
button.btn-info:hover,
button.btn-info:focus,
button.btn-info:active {
    background: linear-gradient(135deg, #17a2b8, #138496);
    border-color: #17a2b8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

/* OUTLINE BUTTONS - Now behave the same as regular buttons */
.btn-outline-primary,
button.btn-outline-primary {
    color: #dc2639;
    border-color: #dc2639;
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
button.btn-outline-primary:hover,
button.btn-outline-primary:focus,
button.btn-outline-primary:active {
    background: linear-gradient(135deg, #dc2639, #b01e2e);
    border-color: #dc2639;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 57, 0.3);
}

.btn-outline-secondary,
button.btn-outline-secondary {
    color: #ffffff;
    border-color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
button.btn-outline-secondary:hover,
button.btn-outline-secondary:focus,
button.btn-outline-secondary:active {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    border-color: #6c757d;
    color: #ff0000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-outline-danger,
button.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    background: transparent;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active,
button.btn-outline-danger:hover,
button.btn-outline-danger:focus,
button.btn-outline-danger:active {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-color: #dc3545;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* BUTTON SIZES */
.btn-sm,
button.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

.btn-lg,
button.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

/* BUTTON GROUPS */
.btn-group {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.btn-group > .btn,
.btn-group > button {
    position: relative;
    flex: 1 1 auto;
    border-radius: 0;
}

.btn-group > .btn:first-child,
.btn-group > button:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.btn-group > .btn:last-child,
.btn-group > button:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* DISABLED BUTTONS */
.btn:disabled,
.btn.disabled,
button:disabled,
button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* CARDS */
.card {
    background-color: #0f0f0f;
    border: 1px solid rgba(220, 38, 57, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border-radius: 0.375rem;
}

.card:hover {
    border-color: rgba(220, 38, 57, 0.5);
    box-shadow: 0 8px 30px rgba(220, 38, 57, 0.2);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, #0f0f0f, #000000);
    border-bottom: 1px solid rgba(220, 38, 57, 0.3);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: calc(0.375rem - 1px) calc(0.375rem - 1px) 0 0;
}

.card-body {
    color: #ffffff;
    background-color: #0f0f0f;
    padding: 1rem;
}

.card-footer {
    background: linear-gradient(135deg, #000000, #0f0f0f);
    border-top: 1px solid rgba(220, 38, 57, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 0 0 calc(0.375rem - 1px) calc(0.375rem - 1px);
}

/* FORMS */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
.form-control,
.form-select,
textarea {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333;
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
.form-control:focus,
.form-select:focus,
textarea:focus {
    background-color: #1a1a1a;
    border-color: #dc2639;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 57, 0.25);
    outline: none;
}

.form-label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

/* MODALS */
.modal-content {
    background-color: #0f0f0f;
    border: 1px solid rgba(220, 38, 57, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    border-radius: 0.375rem;
}

.modal-header {
    border-bottom: 1px solid rgba(220, 38, 57, 0.3);
    background: linear-gradient(135deg, #0f0f0f, #000000);
    color: #ffffff;
    padding: 1rem;
    border-radius: calc(0.375rem - 1px) calc(0.375rem - 1px) 0 0;
}

.modal-body {
    padding: 1.5rem;
    background-color: #0f0f0f;
    color: #ffffff;
}

.modal-footer {
    border-top: 1px solid rgba(220, 38, 57, 0.3);
    background: linear-gradient(135deg, #000000, #0f0f0f);
    padding: 1rem;
    border-radius: 0 0 calc(0.375rem - 1px) calc(0.375rem - 1px);
}

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

/* BADGES */
.badge {
    font-weight: 500;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* TEXT COLORS */
.text-muted {
    color: #888;
}

/* SPINNER */
.spinner-border {
    color: #dc2639;
}

/* NAVIGATION MENU STYLES */
.nav-menu {
    height: 100%;
    overflow-y: auto;
}

.nav-header {
    border-bottom: 1px solid rgba(220, 38, 57, 0.3);
    background: linear-gradient(135deg, #0f0f0f, #000000);
}

.nav-item {
    margin-bottom: 0.25rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 0.375rem;
    margin: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(220, 38, 57, 0.2), rgba(220, 38, 57, 0.1));
    color: #ffffff;
    transform: translateX(5px);
}

.nav-link.active {
    background: linear-gradient(135deg, #dc2639, #b01e2e);
    color: #ffffff;
}

.nav-link span {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 280px;
        height: 100vh;
    }
    
    /* Show sidebar when nav menu is open */
    .sidebar.show,
    .sidebar:target {
        transform: translateX(0);
    }
    
    .page main {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .top-row {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        margin-left: 0 !important;
    }
    
    article {
        padding-top: 5rem;
        margin-left: 0 !important;
    }
    
    /* Overlay when sidebar is open */
    .sidebar.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

/* Keep the hamburger visible on all screen sizes and sidebar collapsible */
@media (min-width: 1025px) {
    .navbar-toggler {
        display: block !important; /* Keep hamburger visible */
    }
    
    .sidebar {
        transform: translateX(-100%); /* Hidden by default */
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    /* Adjust main content when sidebar is open */
    .sidebar.show ~ main {
        margin-left: 280px;
        width: calc(100% - 280px);
    }
    
    .page main {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #dc2639, #a01e2a);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e63946, #dc2639);
}

/* FOCUS STYLES */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #dc2639;
    outline-offset: 2px;
}

/* SELECTION */
::selection {
    background: rgba(220, 38, 57, 0.3);
    color: #ffffff;
}

/* EDIT BUTTON STYLING - Make Edit buttons blue */
.btn-edit,
button.btn-edit,
.btn[data-action="edit"],
button[data-action="edit"] {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: #ffffff !important;
    border-color: #007bff !important;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2) !important;
}

.btn-edit:hover,
.btn-edit:focus,
.btn-edit:active,
button.btn-edit:hover,
button.btn-edit:focus,
button.btn-edit:active,
.btn[data-action="edit"]:hover,
.btn[data-action="edit"]:focus,
.btn[data-action="edit"]:active,
button[data-action="edit"]:hover,
button[data-action="edit"]:focus,
button[data-action="edit"]:active {
    background: linear-gradient(135deg, #0069d9, #004085) !important;
    border-color: #0069d9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
    color: #ffffff !important;
}

/* Alternative approach - target Edit buttons by text content or specific classes */
.btn:contains("Edit"),
button:contains("Edit"),
.edit-btn,
button.edit-btn {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: #ffffff !important;
    border-color: #007bff !important;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2) !important;
}

.btn:contains("Edit"):hover,
button:contains("Edit"):hover,
.edit-btn:hover,
button.edit-btn:hover {
    background: linear-gradient(135deg, #0069d9, #004085) !important;
    border-color: #0069d9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
    color: #ffffff !important;
}

/* ENHANCED TOAST NOTIFICATIONS */
.toast {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid rgba(220, 38, 57, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    border-radius: 0.5rem !important;
    backdrop-filter: blur(10px) !important;
    margin-bottom: 1rem !important;
    min-width: 350px !important;
}

.toast-header {
    background: linear-gradient(135deg, #1a1a1a, #000000) !important;
    border-bottom: 1px solid rgba(220, 38, 57, 0.3) !important;
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    border-radius: calc(0.5rem - 1px) calc(0.5rem - 1px) 0 0 !important;
}

.toast-body {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 1rem !important;
    border-radius: 0 0 calc(0.5rem - 1px) calc(0.5rem - 1px) !important;
}

/* SUCCESS TOAST */
.toast-success,
.toast.bg-success {
    background: linear-gradient(135deg, #0a2e0a, #1a4d1a) !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3) !important;
}

.toast-success .toast-header,
.toast.bg-success .toast-header {
    background: linear-gradient(135deg, #1a4d1a, #0a2e0a) !important;
    border-bottom-color: #28a745 !important;
}

.toast-success .toast-body,
.toast.bg-success .toast-body {
    background: linear-gradient(135deg, #0a2e0a, #1a4d1a) !important;
}

/* ERROR TOAST */
.toast-error,
.toast.bg-danger {
    background: linear-gradient(135deg, #2e0a0a, #4d1a1a) !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3) !important;
}

.toast-error .toast-header,
.toast.bg-danger .toast-header {
    background: linear-gradient(135deg, #4d1a1a, #2e0a0a) !important;
    border-bottom-color: #dc3545 !important;
}

.toast-error .toast-body,
.toast.bg-danger .toast-body {
    background: linear-gradient(135deg, #2e0a0a, #4d1a1a) !important;
}

/* WARNING TOAST */
.toast-warning,
.toast.bg-warning {
    background: linear-gradient(135deg, #2e2a0a, #4d4a1a) !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3) !important;
}

.toast-warning .toast-header,
.toast.bg-warning .toast-header {
    background: linear-gradient(135deg, #4d4a1a, #2e2a0a) !important;
    border-bottom-color: #ffc107 !important;
    color: #000000 !important;
}

.toast-warning .toast-body,
.toast.bg-warning .toast-body {
    background: linear-gradient(135deg, #2e2a0a, #4d4a1a) !important;
    color: #000000 !important;
}

/* INFO TOAST */
.toast-info,
.toast.bg-info {
    background: linear-gradient(135deg, #0a252e, #1a424d) !important;
    border-color: #17a2b8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(23, 162, 184, 0.3) !important;
}

.toast-info .toast-header,
.toast.bg-info .toast-header {
    background: linear-gradient(135deg, #1a424d, #0a252e) !important;
    border-bottom-color: #17a2b8 !important;
}

.toast-info .toast-body,
.toast.bg-info .toast-body {
    background: linear-gradient(135deg, #0a252e, #1a424d) !important;
}

/* TOAST CONTAINER */
.toast-container {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 1055 !important;
    max-width: 400px !important;
}

/* TOAST ANIMATIONS */
.toast {
    animation: slideInFromRight 0.3s ease-out !important;
}

.toast.hiding {
    animation: slideOutToRight 0.3s ease-in forwards !important;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* TOAST CLOSE BUTTON */
.toast .btn-close {
    background: none !important;
    border: none !important;
    color: inherit !important;
    opacity: 0.7 !important;
    transition: opacity 0.2s ease !important;
}

.toast .btn-close:hover {
    opacity: 1 !important;
}

/* TOAST ICONS */
.toast-icon {
    width: 1.5rem !important;
    height: 1.5rem !important;
    margin-right: 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-weight: bold !important;
    font-size: 0.875rem !important;
}

.toast-success .toast-icon {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

.toast-error .toast-icon {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.toast-warning .toast-icon {
    background-color: #ffc107 !important;
    color: #000000 !important;
}

.toast-info .toast-icon {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
}

/* STEP INDICATOR STYLES */
.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background-color: #dc2639;
}

.step-line {
    width: 50px;
    height: 2px;
    background-color: #6c757d;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.step-line.active {
    background-color: #dc2639;
}