/* Modern CSS for Xen Software LLC Community Aid Platform */

:root {
    /* Xen Software brand colors based on logo */
    --primary-color: #d97706;        /* Orange from logo */
    --primary-dark: #c2410c;         /* Darker orange */
    --secondary-color: #1f2937;      /* Dark gray/black from logo */
    --accent-color: #ea580c;         /* Bright orange accent */
    --success-color: #059669;        /* Green for success states */
    --error-color: #dc2626;          /* Red for errors */
    --warning-color: #f59e0b;        /* Yellow-orange for warnings */
    
    --bg-color: #fef7ed;             /* Very light orange tint */
    --surface-color: #ffffff;
    --text-primary: #1f2937;         /* Dark gray for readability */
    --text-secondary: #6b7280;       /* Medium gray for secondary text */
    --border-color: #fed7aa;         /* Light orange for borders */
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 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);
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header and Navigation */
.main-header {
    background: var(--surface-color);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo h1 {
    color: var(--secondary-color);    /* Use dark color for "Xen Software LLC" text */
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.profile-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    object-fit: cover;
    background: white;
    padding: 2px;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--surface-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    min-width: 200px;
    padding: 0.5rem 0;
    display: none;
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.profile-dropdown a:hover {
    background-color: var(--bg-color);
}

/* Landing Page */
.landing-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
}

.hero {
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: none;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Login and Forms */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 0;
}

.login-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-section .logo-img {
    height: 60px;
    margin-bottom: 1rem;
}

.logo-section h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.login-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

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

.btn-secondary:hover {
    background-color: #374151;
}

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

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

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

.btn-customize {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.btn-customize:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-customize i {
    margin-right: 5px;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--bg-color);
}

/* Register Links */
.register-links {
    margin-top: 2rem;
    text-align: center;
}

.register-links p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.register-links .btn {
    display: block;
    margin-bottom: 0.5rem;
    width: 100%;
}

/* Messages */
.error-message {
    background-color: #fee2e2;
    color: var(--error-color);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid #fecaca;
}

.success-message {
    background-color: #dcfce7;
    color: var(--success-color);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #bbf7d0;
}

.warning-message {
    background-color: #fef3c7;
    color: var(--warning-color);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #fde68a;
}

.info-message {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #93c5fd;
}

/* Dashboard */
.dashboard {
    padding: 2rem 0;
}

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

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 1rem 0;
}

.dashboard-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.dashboard-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.3), 0 2px 4px -1px rgba(217, 119, 6, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    opacity: 0.9;
}

/* Tables */
.table-container {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.table th,
.table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--bg-color);
    font-weight: 600;
    color: var(--text-primary);
}

.table tbody tr:hover {
    background-color: var(--bg-color);
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background-color: #dcfce7;
    color: var(--success-color);
}

.badge-warning {
    background-color: #fef3c7;
    color: var(--warning-color);
}

.badge-error {
    background-color: #fee2e2;
    color: var(--error-color);
}

.badge-secondary {
    background-color: var(--bg-color);
    color: var(--text-secondary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.file-upload:hover {
    border-color: var(--primary-color);
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .register-links .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Aid Request Cards */
.aid-request-card {
    transition: all 0.2s ease-in-out;
}

.aid-request-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.funding-info {
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--success-color), #047857);
}

.funding-progress {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.funding-progress-bar {
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

/* Filter Form */
.filter-form {
    display: grid;
    gap: 1rem;
    align-items: end;
}

.filter-form .form-group {
    margin-bottom: 0;
}

.filter-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-form select,
.filter-form input {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: var(--surface-color);
}

/* Modern Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalBackdropIn 0.3s ease-out;
}

@keyframes modalBackdropIn {
    from {
        background-color: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
    }
}

.modal-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 0;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
    width: 90%;
    max-width: 540px;
    max-height: 85vh;
    overflow: hidden;
    animation: modalContentIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes modalContentIn {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Modal closing animations */
.modal.closing {
    animation: modalBackdropOut 0.3s ease-out forwards;
}

.modal.closing .modal-content {
    animation: modalContentOut 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes modalBackdropOut {
    from {
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
    }
    to {
        background-color: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0);
    }
}

@keyframes modalContentOut {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.95) translateY(-10px);
        opacity: 0;
    }
}

.modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: bold;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
}

.modal .form-group {
    margin: 0 0 1.75rem 0;
    position: relative;
}

.modal .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.modal .form-group input[type="text"],
.modal .form-group input[type="email"],
.modal .form-group input[type="number"],
.modal .form-group textarea,
.modal .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modal .form-group input:focus,
.modal .form-group textarea:focus,
.modal .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1),
                0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.modal .form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Modern Checkbox */
.modal .form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.modal .form-group input[type="checkbox"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.modal .form-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.modal .form-group label[style*="display: flex"] {
    cursor: pointer;
    align-items: flex-start !important;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.modal .info-message,
.modal .warning-message,
.modal .success-message {
    margin: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
}

.modal .form-actions {
    padding: 1.75rem 2rem;
    background: linear-gradient(to top, #f9fafb, transparent);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 0;
    border-radius: 0 0 24px 24px;
}

.modal .form-actions .btn {
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
}

.modal .form-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.modal .form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.modal .form-actions .btn-outline {
    background: white;
    border: 2px solid #e5e7eb;
    color: var(--text-secondary);
}

.modal .form-actions .btn-outline:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* Modal form wrapper */
.modal form {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
}

.modal .modal-header {
    margin-bottom: 0;
}

.modal .modal-header + form {
    padding-top: 2rem;
}

/* Form helper text */
.modal .form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Priority Badges */
.badge.badge-urgent {
    background-color: var(--error-color);
    color: white;
}

.badge.badge-high {
    background-color: var(--warning-color);
    color: white;
}

.badge.badge-medium {
    background-color: var(--text-secondary);
    color: white;
}

.badge.badge-low {
    background-color: var(--border-color);
    color: var(--text-primary);
}

/* Request Type Badges */
.badge.badge-funding {
    background-color: var(--success-color);
    color: white;
}

.badge.badge-clothing {
    background-color: var(--accent-color);
    color: white;
}

.badge.badge-food {
    background-color: var(--warning-color);
    color: white;
}

.badge.badge-other {
    background-color: var(--text-secondary);
    color: white;
}

/* Statistics Cards Enhancement */
.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

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

/* Enhanced Table Styles */
.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-color);
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--bg-color);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.table tr:hover {
    background-color: var(--bg-color);
}

/* Progress Bars */
.progress-bar {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--success-color);
    transition: width 0.3s ease;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .filter-form {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aid-request-card {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .filter-form {
        grid-template-columns: 1fr;
    }
    
    .aid-request-card > div:first-child {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
        max-width: 100%;
        border-radius: 16px;
    }
    
    .modal .modal-header {
        padding: 1.5rem 1.25rem 1.25rem 1.25rem;
    }
    
    .modal form {
        padding: 1.25rem;
    }
    
    .modal .form-actions {
        padding: 1.25rem;
        flex-direction: column-reverse;
    }
    
    .modal .form-actions .btn {
        width: 100%;
        padding: 0.875rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}