/*  Checklist System - Modern Basic Stylesheet */

:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --accent: #0f766e;
    --accent-hover: #a16207;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #ea580c;
    --info: #0284c7;
    --bg-main: #f9fafb;
    --bg-card: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-inv: #ffffff;
    --border: #e5e7eb;
    --border-focus: #2563eb;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navbar */
.header {
    background: var(--bg-card);
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.navbar-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary);
    background: transparent;
}

/* User Menu */
.user-menu {
    position: relative;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.user-menu:hover,
.user-menu.active {
    background: transparent;
    color: var(--primary);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-name {
    font-weight: 500;
    font-size: 0.875rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    min-width: 280px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    overflow: hidden;
    color: var(--text-main);
    border: 1px solid var(--border);
    z-index: 1001;
}

.user-menu.active .user-dropdown {
    display: block;
}

.user-dropdown-header {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--border);
}

.user-avatar-initials {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.user-details-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-full-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-body {
    padding: 0.75rem 0;
}

.user-meta-item {
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.user-meta-item i {
    width: 16px;
    text-align: center;
    color: var(--primary-light);
}

.user-dropdown hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 0;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.user-dropdown a:hover {
    background: #f3f4f6;
    color: var(--primary);
}

.logout-link {
    color: var(--danger) !important;
    background: transparent;
    justify-content: center;
}

.logout-link:hover {
    background: transparent !important;
    color: #b91c1c !important;
    /* Darker red on hover */
}

/* Main Content */
.main-content {
    padding: 2.5rem 0;
    min-height: calc(100vh - 160px);
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
}

.card-body {
    padding: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-accent {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

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

.btn-success {
    background: transparent;
    color: var(--success);
    border-color: var(--success);
}

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

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

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

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-sm {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    gap: 0.375rem;
}


/* Tables */
.table-container {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

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

.table th {
    background: #f9fafb;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}

.table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background: #f9fafb;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    padding: 1.5rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.03),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 4px 6px -2px rgba(0, 0, 0, 0.025);
    width: 100%;
    max-width: 700px;
    animation: authSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.auth-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.auth-form .form-label {
    font-weight: 600;
    color: var(--text-main);
}

.auth-form .form-control {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: #f9fafb;
    border-color: #e5e7eb;
    transition: all 0.2s ease;
}

.auth-form .form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.auth-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

/* Badges */
.badge {
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-info {
    background: #e0f2fe;
    color: #075985;
}

.badge-light {
    background: #f3f4f6;
    color: #374151;
}

.text-info-custom {
    color: var(--info);
    font-weight: 500;
}

.text-muted-custom {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.status-active {
    color: var(--success);
    font-weight: 600;
}

.status-inactive {
    color: var(--danger);
    font-weight: 600;
}

/* Action Groups */
.action-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-group.stack {
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.action-group.stack .btn {
    min-width: 180px;
}

/* Form Builder Specifics */
.field-palette {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.field-type-item {
    background: #fff;
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
}

.field-type-item:hover {
    border-color: var(--primary);
    background: #eff6ff;
}

.fields-container {
    min-height: 100px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    background: #fdfdfd;
}

.form-builder-field {
    background: white;
    border: 1px solid var(--border);
    padding: 0;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-builder-field:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.field-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fdfdfd;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius) var(--radius) 0 0;
}

.field-drag-handle {
    cursor: grab;
    color: var(--text-muted);
    padding: 0.25rem;
    transition: var(--transition);
}

.field-drag-handle:hover {
    color: var(--primary);
}

.field-drag-handle:active {
    cursor: grabbing;
}

.field-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    background: #f3f4f6;
    color: var(--text-muted);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
}

.field-label {
    font-weight: 600;
    font-size: 0.9rem;
    flex-grow: 1;
}

.field-actions {
    display: flex;
    gap: 0.25rem;
}

.btn-icon {
    background: transparent;
    border: none;
    padding: 0.375rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: #f3f4f6;
    color: var(--primary);
}

.field-preview {
    padding: 1rem 1.25rem;
}

.sortable-ghost {
    opacity: 0.4;
    background: var(--bg-main) !important;
    border: 2px dashed var(--primary) !important;
}

.sortable-drag {
    cursor: grabbing !important;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    /* Slate-900 with alpha */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

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

.modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

.modal-header .close {
    background: #f3f4f6;
    border: none;
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-header .close:hover {
    background: #fee2e2;
    color: var(--danger);
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

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

/* Submission Detail Specific Styling */
.detail-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.detail-item:hover {
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.detail-value {
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.5;
}

.detail-empty {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.875rem;
}

/* Toggle Switch Styles */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.toggle-label-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked+.toggle-slider {
    background-color: var(--success);
}

.toggle-switch input:focus+.toggle-slider {
    box-shadow: 0 0 1px var(--success);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

.toggle-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Utilities */
.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-start {
    justify-content: flex-start !important;
}

.justify-end,
.justify-content-end {
    justify-content: flex-end !important;
}

.justify-between,
.justify-content-between {
    justify-content: space-between !important;
}

.align-center {
    align-items: center !important;
}

.align-start {
    align-items: flex-start !important;
}

.align-end {
    align-items: flex-end !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: transparent;
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-menu {
        position: fixed;
        top: 73px;
        /* Header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: var(--bg-card);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 999;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-links a {
        font-size: 1.125rem;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .user-menu {
        order: -1;
        /* Place at the top of the mobile menu */
        margin-top: 0;
        margin-bottom: 2rem;
        padding: 1.25rem;
        background: #f8fafc;
        border-radius: var(--radius);
        border: 1px solid var(--border);
    }

    .user-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        display: block !important;
        /* Always visible in mobile menu */
        min-width: 100%;
        background: transparent;
        padding: 0;
    }

    .user-info {
        display: none;
        /* Use the header inside dropdown instead */
    }

    .user-dropdown-header {
        background: transparent;
        padding: 0 0 1rem 0;
        border-bottom: 1px solid var(--border);
        margin-bottom: 0.5rem;
    }

    .user-dropdown-body {
        padding: 0.5rem 0;
    }

    .user-meta-item {
        padding: 0.5rem 0;
    }

    .user-dropdown hr {
        display: none;
        /* Clean up extra lines */
    }

    .user-dropdown a {
        padding: 0.75rem 0;
        border-radius: var(--radius-sm);
    }

    .logout-link {
        margin-top: 0.5rem;
        background: transparent !important;
        justify-content: center;
        font-weight: 600 !important;
        padding: 0.75rem !important;
        border: 1px solid var(--border);
    }

    .logout-link:hover {
        background: #fee2e2 !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .page-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .page-title .btn {
        width: 100%;
    }

    .table-container {
        overflow-x: auto;
    }

    .table th,
    .table td {
        white-space: nowrap;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .field-palette {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 20px 20px 0 0;
        position: absolute;
        bottom: 0;
        transform: translateY(100%);
    }

    .modal.show .modal-content {
        transform: translateY(0);
    }

    .modal-body {
        max-height: 80vh;
    }

    .action-group {
        flex-direction: column;
        width: 100%;
    }

    .action-group .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1.5rem 0;
    }

    .page-title {
        font-size: 1.25rem;
    }

    .card-body {
        padding: 1rem;
    }
}