.calendar-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 16px 18px;
    background: #f5f7fa;
    min-height: calc(100vh - 70px);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.calendar-header h1 {
    color: #004494;
    font-size: 1.35rem;
    margin: 0;
}

.calendar-subtitle {
    color: #666;
    font-size: 0.78rem;
    margin: 2px 0 0 0;
}

.calendar-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 0;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.view-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.78rem;
    transition: all 0.2s ease;
}

.view-btn.active {
    background: #004494;
    color: white;
}

.view-btn:hover:not(.active) {
    background: #e0e0e0;
}

.filter-controls {
    display: flex;
    gap: 6px;
}

.filter-controls select {
    padding: 6px 10px;
    border: 1.5px solid #ddd;
    border-radius: 5px;
    font-size: 0.78rem;
    cursor: pointer;
    background: white;
    transition: border-color 0.2s ease;
}

.filter-controls select:focus {
    outline: none;
    border-color: #004494;
}

.admin-btn {
    padding: 6px 15px;
    background: #004494;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.admin-btn:hover {
    background: #003366;
}

/* Split View Layout */
.split-view {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 2%;
    margin-bottom: 16px;
}

.calendar-section {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
}

.list-section {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
    overflow-y: auto;
    max-height: 500px;
}

.list-header {
    color: #004494;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #e8e8e8;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

#currentMonth {
    font-size: 1rem;
    color: #333;
    min-width: 155px;
    text-align: center;
    margin: 0;
}

.nav-btn {
    width: 27px;
    height: 27px;
    border: 1.5px solid #004494;
    background: white;
    color: #004494;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #004494;
    color: white;
}

.today-btn {
    padding: 4px 10px;
    border: 1.5px solid #004494;
    background: white;
    color: #004494;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.today-btn:hover {
    background: #004494;
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e4e6ea;
    border-radius: 7px;
    overflow: hidden;
}

.calendar-day-header {
    background: #004494;
    color: white;
    padding: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 0.72rem;
}

.calendar-day-header.weekend {
    background: #003577;
}

.calendar-day {
    background: white;
    min-height: 58px;
    padding: 4px;
    position: relative;
    cursor: pointer;
    transition: background 0.15s ease;
}

.calendar-day:hover {
    background: #f9f9f9;
}

.calendar-day.weekend {
    background: #f9fafb;
}

.calendar-day.other-month {
    background: #f3f4f6;
    color: #999;
}

.calendar-day.today {
    background: #e8f0fe;
    box-shadow: inset 0 0 0 2px #004494;
}

.calendar-day-number {
    font-weight: 600;
    font-size: 0.72rem;
    color: #333;
    margin-bottom: 2px;
}

.calendar-day.other-month .calendar-day-number {
    color: #999;
}

.calendar-day.today .calendar-day-number {
    color: white;
    font-weight: 700;
    background: #004494;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
}

.event-dot {
    width: 100%;
    padding: 1px 3px;
    margin: 1px 0;
    border-radius: 3px;
    font-size: 0.6rem;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.event-dot:hover {
    opacity: 0.85;
}

.event-dot.open { background: #4CAF50; }
.event-dot.full { background: #FF9800; }
.event-dot.closed { background: #9E9E9E; }
.event-dot.cancelled { background: #f44336; }

/* Compact List View */
.list-view-compact {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.event-item-compact {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 8px 9px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid #004494;
}

.event-item-compact:hover {
    background: #f0f0f0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.event-item-compact.open { border-left-color: #4CAF50; }
.event-item-compact.full { border-left-color: #FF9800; }
.event-item-compact.closed { border-left-color: #9E9E9E; }
.event-item-compact.cancelled { border-left-color: #f44336; }

.event-item-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 0.82rem;
}

.event-item-date {
    font-size: 0.74rem;
    color: #666;
    margin-bottom: 2px;
}

.event-item-status {
    font-size: 0.65rem;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 9px;
    color: white;
    font-weight: 600;
    margin-top: 2px;
}

.event-item-status.open { background: #4CAF50; }
.event-item-status.full { background: #FF9800; }
.event-item-status.closed { background: #9E9E9E; }
.event-item-status.cancelled { background: #f44336; }

/* Klub event badge */
.event-klub-badge {
    background: #ff9800;
    color: white;
    padding: 0.12rem 0.35rem;
    border-radius: 3px;
    font-size: 0.6rem;
    margin-left: 0.3rem;
    display: inline-block;
    font-weight: 500;
}

.event-list-item .event-klub-badge {
    display: block;
    margin-top: 0.15rem;
    width: fit-content;
}

.calendar-day .event-indicator .event-klub-badge {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.55rem;
}

/* Year View */
.year-view {
    padding: 12px;
}

.year-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

#currentYear {
    font-size: 1.4rem;
    color: #004494;
    font-weight: 700;
    margin: 0;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.month-card {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.month-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.month-card-header {
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 2px solid #004494;
    margin-bottom: 8px;
}

.month-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #004494;
    margin: 0;
}

.month-card-events {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 220px;
    overflow-y: auto;
}

.month-event-item {
    background: #f9f9f9;
    padding: 6px 7px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-left: 3px solid #004494;
}

.month-event-item:hover {
    background: #eee;
}

.month-event-item.open { border-left-color: #4CAF50; }
.month-event-item.full { border-left-color: #FF9800; }
.month-event-item.closed { border-left-color: #9E9E9E; }
.month-event-item.cancelled { border-left-color: #f44336; }

.month-event-title {
    font-weight: 600;
    color: #333;
    font-size: 0.76rem;
    margin-bottom: 1px;
}

.month-event-date {
    font-size: 0.7rem;
    color: #666;
}

.month-card-empty {
    text-align: center;
    color: #bbb;
    padding: 12px;
    font-style: italic;
    font-size: 0.78rem;
}

/* ========================================
   MODALS - Compact & clean
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    animation: fadeIn 0.2s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 20px 24px;
    border-radius: 9px;
    max-width: 680px;
    width: 90%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.25s ease;
}

.modal-content h2 {
    font-size: 1.08rem;
    color: #004494;
    margin: 0 0 12px 0;
}

@keyframes slideUp {
    from {
        transform: translateY(25px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Admin modal wider */
#adminModal .modal-content {
    max-width: 740px;
}

/* Signup modal narrower */
#signupModal .modal-content {
    max-width: 470px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.3rem;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    z-index: 10;
    transition: color 0.15s;
}

.close-modal:hover {
    color: #333;
}

.image-preview-container {
    margin-top: 8px;
    position: relative;
}

.image-preview {
    max-width: 100%;
    max-height: 180px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    display: block;
}

.image-preview-actions {
    margin-top: 6px;
    display: flex;
    gap: 6px;
}

.btn-remove-image {
    padding: 5px 12px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.78rem;
    transition: background 0.2s ease;
}

.btn-remove-image:hover {
    background: #d32f2f;
}

.image-info {
    font-size: 0.74rem;
    color: #666;
    margin-top: 3px;
}

/* Quill Editor Styling - compact */
.ql-toolbar {
    background: #fafafa;
    border-radius: 5px 5px 0 0 !important;
    border: 1.5px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    padding: 4px 6px !important;
}

.ql-toolbar .ql-formats {
    margin-right: 6px !important;
}

.ql-container {
    border-radius: 0 0 5px 5px !important;
    border: 1.5px solid #ddd !important;
    border-top: none !important;
    font-size: 0.85rem;
    font-family: inherit;
}

.ql-editor {
    min-height: 85px;
    max-height: 180px;
    overflow-y: auto;
    padding: 7px 10px;
}

.ql-editor p {
    margin-bottom: 0.5em;
}

.ql-editor strong {
    font-weight: 600;
}

/* Event detail styling for formatted content */
.event-detail-description {
    line-height: 1.7;
    color: #555;
    margin: 12px 0;
    font-size: 0.85rem;
}

.event-detail-description h1,
.event-detail-description h2,
.event-detail-description h3 {
    color: #004494;
    margin-top: 1em;
    margin-bottom: 0.3em;
}

.event-detail-description h1 { font-size: 1.4em; }
.event-detail-description h2 { font-size: 1.2em; }
.event-detail-description h3 { font-size: 1.05em; }

.event-detail-description ul,
.event-detail-description ol {
    margin: 0.7em 0;
    padding-left: 1.6em;
}

.event-detail-description li {
    margin-bottom: 0.3em;
}

.event-detail-description strong {
    font-weight: 600;
    color: #333;
}

.event-detail-description em {
    font-style: italic;
}

.event-detail-description a {
    color: #004494;
    text-decoration: underline;
}

.event-detail-description blockquote {
    border-left: 3px solid #004494;
    padding-left: 0.7em;
    margin: 0.7em 0;
    color: #666;
    font-style: italic;
}

.event-detail-description code {
    background: #f5f5f5;
    padding: 1px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
}

.event-detail-description pre {
    background: #f5f5f5;
    padding: 0.7em;
    border-radius: 5px;
    overflow-x: auto;
}

/* Event Detail Layout - Side by Side */
.event-detail-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 14px;
}

.event-detail-image-wrapper {
    position: sticky;
    top: 0;
}

.event-detail-image {
    width: 100%;
    height: auto;
    max-height: 270px;
    object-fit: contain;
    border-radius: 8px;
}

.event-detail-content {
    flex: 1;
}

.event-detail-header {
    margin-bottom: 8px;
}

.event-detail-title {
    font-size: 1.2rem;
    color: #004494;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.event-detail-participants {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.event-detail-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1.5px solid #e8e8e8;
    margin-top: 12px;
}

/* No image = full width */
.event-detail-container.no-image {
    grid-template-columns: 1fr;
}

.event-item-deadline {
    font-size: 0.7rem;
    color: #FF9800;
    margin-top: 2px;
    font-weight: 600;
}

.event-item-deadline.expired {
    color: #f44336;
}

.event-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.82rem;
}

/* Hover effekt for klikbare dage (kun admin) */
.calendar-day.admin-clickable:hover {
    background: #f0f7ff;
    box-shadow: inset 0 0 0 2px #004494;
}

.calendar-day.admin-clickable .calendar-day-number {
    color: #004494;
}

/* Plus ikon naar man hover over tom dag */
.calendar-day.admin-clickable:hover::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #004494;
    opacity: 0.25;
    pointer-events: none;
}

/* Skjul plus ikon hvis der er events */
.calendar-day.admin-clickable:hover:has(.event-dot)::after {
    display: none;
}

/* Tooltip hint for admin */
.calendar-section {
    position: relative;
}

.calendar-section::before {
    content: attr(data-admin-hint);
    display: none;
    position: absolute;
    top: 6px;
    right: 6px;
    background: #004494;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    z-index: 10;
    animation: fadeIn 0.2s ease;
}

.calendar-section.show-hint::before {
    display: block;
}

/* ========================================
   BUTTONS - Compact
   ======================================== */
.btn-primary, .btn-secondary, .btn-danger {
    padding: 7px 16px;
    max-height: 36px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.82rem;
}

.btn-primary {
    background: #004494;
    color: white;
}

.btn-primary:hover {
    background: #003366;
}

.btn-secondary {
    background: #e8e8e8;
    color: #333;
}

.btn-secondary:hover {
    background: #ddd;
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
}

/* ========================================
   FORMS - Compact & clean
   ======================================== */
.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
    color: #444;
    font-size: 0.78rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="datetime-local"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 7px 8px;
    border: 1.5px solid #ddd;
    border-radius: 5px;
    font-size: 0.82rem;
    transition: border-color 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #004494;
    box-shadow: 0 0 0 2px rgba(0,68,148,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.file-input {
    margin-top: 4px;
    font-size: 0.78rem;
}

.form-actions {
    display: flex;
    gap: 7px;
    margin-top: 14px;
    flex-wrap: wrap;
}

/* Checkbox labels in forms */
.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
}

.form-group input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #004494;
}

.participant-item {
    background: #f9f9f9;
    padding: 8px 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.participant-info {
    flex: 1;
}

.participant-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 0.82rem;
}

.participant-details {
    font-size: 0.76rem;
    color: #666;
}

.toast {
    position: fixed;
    bottom: 18px;
    right: 18px;
    background: #333;
    color: white;
    padding: 10px 18px;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 2000;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s ease;
    font-size: 0.82rem;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success { background: #4CAF50; }
.toast.error { background: #f44336; }

.hidden {
    display: none !important;
}

.event-card-status {
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 0.74rem;
    font-weight: 600;
    color: white;
}

.event-card-status.open { background: #4CAF50; }
.event-card-status.full { background: #FF9800; }
.event-card-status.closed { background: #9E9E9E; }
.event-card-status.cancelled { background: #f44336; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .split-view {
        grid-template-columns: 1fr;
    }

    .list-section {
        max-height: 320px;
    }

    .year-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .calendar-container {
        padding: 10px;
    }

    .calendar-header {
        flex-direction: column;
        align-items: stretch;
    }

    .calendar-controls {
        flex-direction: column;
    }

    .calendar-grid {
        gap: 1px;
    }

    .calendar-day {
        min-height: 45px;
        padding: 2px;
    }

    .event-dot {
        font-size: 0.55rem;
        padding: 1px 2px;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 14px;
        width: 95%;
        max-height: 92vh;
    }

    .year-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .event-detail-container {
        grid-template-columns: 1fr;
    }

    .event-detail-image-wrapper {
        position: relative;
    }

    .event-detail-image {
        max-height: 200px;
    }

    .event-detail-title {
        font-size: 1.05rem;
    }

    .event-detail-meta {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .year-grid {
        grid-template-columns: 1fr;
    }
}

/* Event count badge in sidebar header */
.event-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #004494;
    color: white;
    font-size: 0.66rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Empty state for sidebar */
.empty-state {
    text-align: center;
    padding: 25px 12px;
}

.empty-state-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 3px;
}

.empty-state-text {
    font-size: 0.74rem;
    color: #999;
}

/* Signup progress indicator */
.signup-progress {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 3px 0 2px;
}

.signup-progress-bar {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.signup-progress-fill {
    height: 100%;
    background: #4CAF50;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.signup-progress-text {
    font-size: 0.66rem;
    color: #888;
    white-space: nowrap;
}

/* View fade-in transition */
.view-fade-in {
    animation: viewFadeIn 150ms ease-out;
}

@keyframes viewFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Location styling in compact list */
.event-item-location {
    font-size: 0.74rem;
    color: #666;
    margin-bottom: 2px;
}

/* Improved meta section */
.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #555;
    font-size: 0.82rem;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 6px;
}

/* ========================================
   MOBILEPAY PAYMENT STYLING
   ======================================== */

.info-box {
    background: #f0f7ff;
    border-left: 3px solid #004494;
    padding: 10px 14px;
    border-radius: 5px;
    margin: 8px 0;
    font-size: 0.82rem;
}

.info-box ul {
    margin: 5px 0;
    padding-left: 16px;
}

.info-box li {
    margin-bottom: 2px;
    font-size: 0.78rem;
}

.info-box a {
    color: #004494;
    text-decoration: underline;
}

#paymentInfoBox {
    background: #fff9e6 !important;
    border: 1.5px solid #ffc107 !important;
    border-left: 3px solid #ffc107 !important;
}

#paymentInfoBox strong {
    color: #ff9800;
    font-size: 0.88rem;
}

#paymentAmount {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 5px 0;
}

.payment-required-badge {
    background: #ff9800;
    color: white;
    padding: 2px 8px;
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 6px;
}

.event-payment-info {
    background: #fff9e6;
    border: 1.5px solid #ffc107;
    padding: 10px;
    border-radius: 5px;
    margin: 8px 0;
}

.event-payment-info .payment-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #ff9800;
    margin: 5px 0;
}

/* Payment status badges */
.payment-status {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 600;
    color: white;
}

.payment-status.paid { background: #4CAF50; }
.payment-status.pending { background: #FF9800; }
.payment-status.cancelled { background: #9E9E9E; }
.payment-status.refunded { background: #f44336; }

/* Admin payment management */
.payment-actions {
    display: flex;
    gap: 7px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.payment-actions button {
    padding: 5px 12px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.78rem;
    transition: all 0.2s ease;
}

.btn-refund {
    background: #f44336;
    color: white;
}

.btn-refund:hover {
    background: #d32f2f;
}

.btn-capture {
    background: #4CAF50;
    color: white;
}

.btn-capture:hover {
    background: #388E3C;
}

/* Loading overlay */
.payment-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.payment-loading-content {
    background: white;
    padding: 26px;
    border-radius: 9px;
    text-align: center;
    max-width: 320px;
}

.payment-loading-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e0e0e0;
    border-top-color: #004494;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 14px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-loading-text {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
}

.payment-loading-subtext {
    font-size: 0.78rem;
    color: #666;
}
