:root {
    --sidebar-width: 280px;
    --sidebar-collapsed: 80px;
    --header-height: 70px;
    --primary: #1a365d;
    --secondary: #2d3748;
    --accent: #3182ce;
    --accent-light: #4299e1;
    --light: #e2e8f0;
    --dark: #2d3748;
    --success: #38a169;
    --warning: #ecc94b;
    --danger: #e53e3e;
    --gray: #a0aec0;
    --white: #ffffff;
    --bg-light: #f7fafc;
    --border: #e2e8f0;
    --transition: all 0.3s ease;
}

/* Admin Login Styles */
.admin-login {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.login-header h1 span {
    color: var(--accent);
}

.login-header p {
    color: var(--gray);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.input-with-icon input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--dark);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-link {
    color: var(--accent);
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.login-footer p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Admin Panel Styles */
.admin-panel {
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--primary);
    color: var(--white);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    z-index: 1000;
}

.sidebar-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.sidebar-header h2 span {
    color: var(--accent-light);
}

.sidebar-header p {
    color: var(--light);
    font-size: 0.85rem;
    margin: 0;
}

.sidebar-user {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.user-info p {
    color: var(--light);
    font-size: 0.8rem;
    margin: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-nav li {
    margin-bottom: 0.25rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.5rem;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.sidebar-nav a.active {
    background: var(--accent);
    color: var(--white);
    border-left: 4px solid var(--accent-light);
}

.sidebar-nav i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: var(--transition);
}

.admin-header {
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-left {
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.25rem;
    margin-right: 1rem;
    cursor: pointer;
    display: none;
}

.admin-header h1 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
}

.notifications {
    margin-right: 1.5rem;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.25rem;
    cursor: pointer;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
}

.user-btn img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.user-btn span {
    color: var(--dark);
    font-weight: 500;
    margin-right: 0.5rem;
}

.user-btn i {
    color: var(--gray);
    font-size: 0.8rem;
}

.admin-content {
    padding: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    font-size: 1.8rem;
    margin: 0 0 0.25rem;
    color: var(--dark);
}

.stat-info p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

.stat-trend {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
}

.stat-trend.up {
    background: rgba(72, 187, 120, 0.15);
    color: #38a169;
}

.stat-trend.down {
    background: rgba(245, 101, 101, 0.15);
    color: #e53e3e;
}

/* Charts */
.charts-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.chart-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chart-filter {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    font-size: 0.9rem;
}

.chart-container {
    height: 250px;
    position: relative;
}

/* Activity Card */
.activity-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.view-all {
    color: var(--accent);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
}

.data-table tr:hover {
    background: #f8fafc;
}

/* Status Badges */
.status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.delivered {
    background: rgba(72, 187, 120, 0.15);
    color: #38a169;
}

.status-badge.transit {
    background: rgba(246, 173, 85, 0.15);
    color: #ed8936;
}

.status-badge.pending {
    background: rgba(159, 122, 234, 0.15);
    color: #805ad5;
}

.status-badge.issue {
    background: rgba(245, 101, 101, 0.15);
    color: #e53e3e;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.action-btn.view {
    background: rgba(66, 153, 225, 0.1);
    color: var(--accent);
}

.action-btn.view:hover {
    background: var(--accent);
    color: var(--white);
}

.action-btn.edit {
    background: rgba(101, 163, 13, 0.1);
    color: #65a30d;
}

.action-btn.edit:hover {
    background: #65a30d;
    color: var(--white);
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.action-btn.delete:hover {
    background: #ef4444;
    color: var(--white);
}

/* Page Actions */
.page-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box {
    position: relative;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-box input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Filters Bar */
.filters-bar {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
    white-space: nowrap;
}

.filter-group select {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    font-size: 0.9rem;
    min-width: 150px;
}

/* Data Card */
.data-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}

.table-info {
    color: var(--gray);
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Collapsed Sidebar */
.sidebar-collapsed .admin-sidebar {
    width: var(--sidebar-collapsed);
}

.sidebar-collapsed .admin-main {
    margin-left: var(--sidebar-collapsed);
}

.sidebar-collapsed .sidebar-header h2,
.sidebar-collapsed .sidebar-user .user-info,
.sidebar-collapsed .sidebar-nav a span {
    display: none;
}

.sidebar-collapsed .sidebar-header {
    padding: 1.5rem 0.5rem 1rem;
    text-align: center;
}

.sidebar-collapsed .sidebar-user {
    padding: 1.5rem 0.5rem;
    justify-content: center;
}

.sidebar-collapsed .sidebar-nav a {
    justify-content: center;
    padding: 0.85rem 0.5rem;
}

.sidebar-collapsed .sidebar-nav i {
    margin-right: 0;
    font-size: 1.25rem;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--white);
    border-radius: 8px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--dark);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Form Styles in Modal */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    outline: none;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--danger);
}

.error-message {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Delete Confirmation Modal */
.delete-modal-content {
    max-width: 500px;
}

.delete-icon {
    text-align: center;
    font-size: 3rem;
    color: var(--danger);
    margin-bottom: 1rem;
}

.delete-message {
    text-align: center;
    margin-bottom: 1.5rem;
}

.delete-details {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.delete-detail-item {
    display: flex;
    margin-bottom: 0.5rem;
}

.delete-detail-label {
    font-weight: 500;
    min-width: 100px;
    color: var(--dark);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Modals */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        margin: 0 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}



/* Additional styles for modals */
.readonly-field {
    background-color: #f8fafc;
    cursor: not-allowed;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #c53030;
}

/* Status-specific colors for dropdowns */
select option[value="pending"] {
    color: #805ad5;
}

select option[value="processing"] {
    color: #d69e2e;
}

select option[value="in_transit"] {
    color: #ed8936;
}

select option[value="out_for_delivery"] {
    color: #4299e1;
}

select option[value="delivered"] {
    color: #38a169;
}

select option[value="exception"] {
    color: #e53e3e;
}

/* View Shipment Modal Styles */
.shipment-detail-container {
    max-height: 60vh;
    overflow-y: auto;
}

.detail-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    margin-bottom: 0.75rem;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-label {
    font-weight: 600;
    min-width: 150px;
    color: var(--dark);
}

.detail-value {
    color: var(--secondary);
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding-left: 30px;
    margin-left: 10px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -39px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item.completed .timeline-marker {
    background: var(--success);
    box-shadow: 0 0 0 3px var(--success);
}

.timeline-content {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

.timeline-item.completed .timeline-content {
    border-left-color: var(--success);
}

.timeline-content h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.timeline-content p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* Settings Page Styles */
.settings-tabs {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.tab-link {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray);
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
}

.tab-link:hover {
    color: var(--accent);
}

.tab-link.active {
    color: var(--accent);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
}

.tabs-content {
    padding: 0;
}

.tab-pane {
    display: none;
    padding: 1.5rem;
}

.tab-pane.active {
    display: block;
}

.settings-card {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.settings-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.settings-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.settings-form {
    max-width: 800px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Multiple select styling */
select[multiple] {
    min-height: 120px;
}

/* Responsive settings */
@media (max-width: 768px) {
    .tabs-header {
        flex-direction: column;
    }

    .tab-link {
        border-bottom: 1px solid var(--border);
    }

    .tab-link.active::after {
        display: none;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-item {
        flex-direction: column;
    }

    .detail-label {
        min-width: auto;
        margin-bottom: 0.25rem;
    }

    .form-actions {
        flex-direction: column;
    }
}

.timeline-header{
    display: flex;
    justify-content: space-between;
}


/* Message notification */


.message-marker {
    position: absolute;
    left: -39px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent);
}

.message-item.success .message-marker {
    background: var(--success);
    box-shadow: 0 0 0 3px var(--success);
}

.message-item.error .message-marker{
    background-color: var(--danger);
    box-shadow: 0 0 0 3px var(--danger);
}

.message-content {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

.message-item.success .message-content {
    border-left-color: var(--success);
}

.message-item.error .message-content {
    border-left-color: var(--danger);
}


.message-content p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.message-content p:last-child {
    margin-bottom: 0;
}








