
.missing-template-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.missing-template-warning i {
    color: #856404;
}


.course-list {
    margin-top: 1rem;
}

.course-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s;
}

.course-list-item:hover {
    background-color: #f8f9fa;
}

.course-list-item:last-child {
    border-bottom: none;
}

.course-list-item .course-name {
    font-weight: 500;
    color: #2c3e50;
}

.course-list-item .course-type {
    font-size: 0.875rem;
    color: #6c757d;
}

.course-list-item .missing-template {
    color: #dc3545;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Email Preview Styles */
.email-preview {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.email-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.email-subject {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.email-content {
    padding: 20px;
    line-height: 1.6;
    color: #2c3e50;
}

.email-content p {
    margin-bottom: 1rem;
}

.email-content .placeholder {
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 4px;
    padding: 0.5rem;
    margin: 0.5rem 0;
    color: #6c757d;
    font-family: monospace;
    display: inline-block;
    transition: background-color 0.2s;
}

.email-content .placeholder:hover {
    background-color: #e9ecef;
}

.email-content .placeholder.qr-code {
    display: block;
    text-align: center;
    margin: 1rem auto;
    max-width: 200px;
    padding: 1rem;
}

.email-content .placeholder.link {
    color: #0d6efd;
    text-decoration: underline;
    background-color: #e9ecef;
    padding: 0.5rem 1rem;
}

.email-content .placeholder.calendar {
    background-color: #e9ecef;
    padding: 0.75rem;
    border-radius: 4px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-content .placeholder.booking-id {
    font-weight: bold;
    color: #198754;
    background-color: #e9ecef;
    padding: 0.5rem 1rem;
}

.email-content .placeholder.location {
    background-color: #e9ecef;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-content .placeholder.location i {
    color: #6c757d;
}

/* Modal Styles */
.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
    padding: 1rem 1.5rem;
}

.modal-title {
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

/* Form Styles */
.form-label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-control, .form-select {
    border-radius: 4px;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Button Styles */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

#participantsModal .modal-dialog {
    max-width: 95vw;
}
#participantsTable th, #participantsTable td {
    vertical-align: middle;
}
#participantsTable .badge {
    font-size: 0.95em;
    margin-right: 2px;
}
.extra-fields-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.extra-field-chip {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 0.25em 0.75em;
    font-size: 0.95em;
    border: 1px solid #dee2e6;
    margin-bottom: 0.25em;
}
.extra-field-label {
    font-weight: 600;
    margin-right: 0.3em;
    color: #495057;
}
.extra-field-value {
    color: #0d6efd;
}
