/* Classes Plugin Frontend Styles */
footer,header .box-fixed .hidden-no-fixed {
    display: none!important;
}
.classes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 2px solid #f6ad55;
}

.classes-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #f6ad55;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.welcome-message {
    font-weight: bold;
    color: #333;
}

.btn-logout {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.btn-logout:hover {
    background-color: #c82333;
}

.classes-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

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

.classes-table th {
    background-color: #f1f1f1;
    color: #333;
    font-weight: bold;
    padding: 12px 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.classes-table td {
    padding: 10px 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.classes-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.classes-table tr:hover {
    background-color: #f5f5f5;
}

/* Classes Schedule Table - Conference Style */
.classes-schedule-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.classes-schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.classes-schedule-table th {
    background-color: orange;
    color: white;
    font-weight: bold;
    padding: 8px;
    text-align: center;
    border: 1px solid #999;
}

.classes-schedule-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #999;
    max-width: 200px;
}

.classes-schedule-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.classes-schedule-table .time-slot {
    font-weight: bold;
    background-color: #f8f8f8;
}

.class-signup-dropdown {
    width: 150px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.class-signup-dropdown:hover {
    border-color: orange;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.3);
}

.class-signup-dropdown.selected {
    background-color: #fff8e1;
    border-color: #f6ad55;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(246, 173, 85, 0.3);
}

/* Locked Class Cell Styles */
.locked-class-cell {
    background-color: #e8f5e8;
    border: 2px solid #4CAF50;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    font-weight: bold;
    color: #2e7d32;
    cursor: default;
    transition: all 0.3s ease;
}

.locked-class-cell:hover {
    background-color: #dcedc8;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.locked-class-cell .class-name {
    flex: 1;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

.locked-class-cell .locked-indicator {
    font-size: 14px;
    margin-left: 5px;
    opacity: 0.7;
}

.locked-class-cell[data-participant]:hover::after {
    content: "Registered by: " attr(data-participant);
    position: absolute;
    background: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
    margin-top: -30px;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.class-selection-confirmation {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    display: none;
    font-weight: bold;
}

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

.class-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.class-modal-header {
    background-color: orange;
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-modal-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.class-modal-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.class-modal-close:hover {
    opacity: 0.7;
}

.class-modal-body {
    padding: 20px;
}

/* Step Indicator Styles */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step.active {
    background-color: orange;
    color: white;
}

.step.completed {
    background-color: #4CAF50;
    color: white;
}

/* Registration Step Styles */
.registration-step {
    min-height: 300px;
}

.registration-step h4 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.1em;
}

/* Class Description Styles */
.class-description {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.class-description h3 {
    color: orange;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.class-description p {
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Registration Summary Styles */
.registration-summary {
    background-color: #fff8e1;
    border: 1px solid orange;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.registration-summary h4 {
    color: #e68a00;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1em;
}

.registration-summary p {
    margin: 5px 0;
    font-size: 14px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: orange;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.3);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-cancel, .btn-submit {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-cancel {
    background-color: #f1f1f1;
    color: #333;
}

.btn-cancel:hover {
    background-color: #e1e1e1;
}

.btn-submit {
    background-color: orange;
    color: white;
}

.btn-submit:hover {
    background-color: #e68a00;
}

.btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Classes List Styles */
.classes-list-wrapper {
    margin: 20px 0;
}

.classes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.class-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.class-title {
    color: #333;
    font-size: 1.2em;
    margin: 0 0 10px 0;
}

.class-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #666;
}

.class-meta span {
    display: inline-block;
}

.class-meta span:before {
    content: "• ";
    margin-right: 5px;
}

.class-meta span:first-child:before {
    content: "";
    margin-right: 0;
}

.class-excerpt {
    color: #555;
    line-height: 1.5;
    margin: 10px 0 0 0;
}

/* Success Step Styles */
.success-icon {
    font-size: 48px;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 20px;
}

#registration-success-content {
    text-align: center;
}

#registration-success-content p {
    font-size: 16px;
    margin: 10px 0;
    color: #555;
}

/* Login Form Styles */
.classes-login-wrapper {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.classes-login-wrapper .classes-header {
    text-align: center;
    border-bottom: 2px solid #f6ad55;
    padding-bottom: 20px;
    margin-bottom: 30px;
    flex-direction: column;
}

.classes-login-wrapper .classes-header h1 {
    margin-bottom: 10px;
}

.classes-login-wrapper .classes-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 10px 0;
}

.classes-login-wrapper .classes-header p strong {
    color: #28a745;
    font-weight: 600;
}

.login-form-container {
    margin-top: 30px;
}

.form-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.login-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.login-info h4 {
    color: #28a745;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.login-info ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.login-info li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
}

.login-info li strong {
    color: #333;
}

.login-info p {
    margin: 15px 0 0 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Selection Summary Styles */
.selection-summary {
    background-color: #f8f9fa;
    border: 2px solid #f6ad55;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.selection-summary h3 {
    color: #f6ad55;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.selected-classes-list {
    margin-bottom: 20px;
}

.selected-class-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.selected-class-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #f6ad55;
}

.selected-class-item .class-details {
    width: 100%;
}

.selected-class-item .class-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff8e1;
    border-bottom: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
}

.selected-class-item .class-title {
    color: #f6ad55;
    font-size: 16px;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.selected-class-item .class-schedule {
    background-color: #e8f5e8;
    border-left: 4px solid #28a745;
    padding: 8px 15px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #155724;
}

.selected-class-item .class-description {
    padding: 15px;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    background-color: #fafafa;
    border-radius: 0 0 8px 8px;
}

.remove-selection {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.remove-selection:hover {
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.summary-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.summary-actions .btn-cancel,
.summary-actions .btn-submit {
    min-width: 120px;
}

/* Multiple Class Descriptions Styles */
.multiple-class-descriptions h4 {
    color: #f6ad55;
    text-align: center;
    margin-bottom: 20px;
}

.individual-class-description {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.individual-class-description h5 {
    color: #f6ad55;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.individual-class-description .class-schedule {
    background-color: #fff8e1;
    border-left: 4px solid #f6ad55;
    padding: 8px 12px;
    margin: 10px 0;
    font-size: 14px;
}

.individual-class-description .class-desc {
    color: #555;
    line-height: 1.5;
    font-size: 14px;
    margin: 10px 0 0 0;
}

/* Multiple Registration Results Styles */
.multiple-registration-results {
    text-align: center;
}

.success-registrations {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
}

.success-registrations .success-icon {
    font-size: 48px;
    color: #155724;
    margin-bottom: 15px;
}

.success-registrations h4 {
    color: #155724;
    margin-bottom: 15px;
}

.success-registrations ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.success-registrations li {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 5px;
    color: #155724;
    font-weight: bold;
}

.failed-registrations {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 20px;
}

.failed-registrations .error-icon {
    font-size: 48px;
    color: #721c24;
    margin-bottom: 15px;
}

.failed-registrations h4 {
    color: #721c24;
    margin-bottom: 15px;
}

.failed-registrations ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.failed-registrations li {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 5px;
    color: #721c24;
    font-size: 14px;
}

/* User Registered Class Cell Styles */
.user-registered-cell {
    background-color: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    font-weight: bold;
    color: #1565c0;
    cursor: default;
    transition: all 0.3s ease;
}

.user-registered-cell:hover {
    background-color: #bbdefb;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

.user-registered-cell .class-name {
    flex: 1;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

.user-registered-cell .registered-indicator {
    font-size: 14px;
    margin-left: 5px;
    opacity: 0.8;
    color: #4caf50;
}

.user-registered-cell[data-participant]:hover::after {
    content: "Your registration: " attr(data-participant);
    position: absolute;
    background: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
    margin-top: -30px;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Enhanced dropdown styles for individual schedules */
.class-signup-dropdown option:disabled {
    color: #999;
    font-style: italic;
}

/* User Dashboard Styles */
.user-dashboard {
    background-color: #f8f9fa;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.user-dashboard h2 {
    color: #28a745;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    border-bottom: 2px solid #28a745;
    padding-bottom: 10px;
}

.registered-classes-summary {
    text-align: center;
}

.registered-classes-summary p {
    font-size: 16px;
    color: #495057;
    margin-bottom: 20px;
}

.registered-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.registered-class-card {
    background-color: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.registered-class-card:hover {
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    transform: translateY(-2px);
}

.registered-class-card h4 {
    color: #28a745;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.registered-class-card .class-schedule {
    background-color: #e8f5e8;
    border-left: 4px solid #28a745;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
}

.registered-class-card .class-schedule strong {
    color: #155724;
    font-size: 16px;
}

.registered-class-card .registration-date {
    color: #6c757d;
    font-size: 12px;
    margin: 10px 0;
    font-style: italic;
}

.btn-cancel-registration {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-cancel-registration:hover {
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.btn-cancel-registration:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Enhanced Classes Legend Styles */
.classes-legend {
    background-color: #f8f9fa;
    border: 2px solid #f6ad55;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.legend-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #f6ad55;
    padding-bottom: 20px;
}

.legend-header h3 {
    color: #f6ad55;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legend-subtitle {
    color: #6c757d;
    font-size: 16px;
    font-style: italic;
    margin: 0;
}

/* Class Description Display Area */
.class-description-display {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border: 2px solid #f6ad55;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 3px 8px rgba(246, 173, 85, 0.2);
    animation: slideDown 0.3s ease-out;
}

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

.description-header {
    background: linear-gradient(135deg, #f6ad55 0%, #e68a00 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.description-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.close-description {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-description:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.description-content {
    padding: 20px;
}

.description-content p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 15px;
}

/* Legend Grid */
.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.legend-class-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.legend-class-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #f6ad55 0%, #e68a00 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legend-class-item:hover {
    border-color: #f6ad55;
    box-shadow: 0 4px 16px rgba(246, 173, 85, 0.2);
    transform: translateY(-2px);
}

.legend-class-item:hover::before {
    opacity: 1;
}

.legend-class-item.active {
    border-color: #f6ad55;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    box-shadow: 0 4px 16px rgba(246, 173, 85, 0.3);
    }

.legend-class-item.active::before {
    opacity: 1;
}

.class-number {
    background: linear-gradient(135deg, #f6ad55 0%, #e68a00 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.class-info {
    flex: 1;
    min-width: 0;
    }

.legend-class-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
    margin-bottom: 4px;
    word-wrap: break-word;
    }

.class-type {
    display: inline-block;
        font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-type {
    background-color: #e9ecef;
    color: #6c757d;
}

.legend-class-item[data-classid^="wp_class_"] .class-type {
    background-color: #d1ecf1;
    color: #0c5460;
    }

.class-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-icon {
    font-size: 16px;
    color: #6c757d;
    font-style: normal;
    font-weight: bold;
    }

.legend-class-item:hover .class-action {
    background: #f6ad55;
    }

.legend-class-item:hover .info-icon {
    color: white;
}

/* Search and Filter for Legend */
.legend-search {
    margin-bottom: 20px;
    }

.legend-search input {
        width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.legend-search input:focus {
    border-color: #f6ad55;
    outline: none;
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.1);
}

.legend-search input::placeholder {
    color: #adb5bd;
    font-style: italic;
    }

/* Responsive Design for Legend */
@media (max-width: 768px) {
    .classes-legend {
        padding: 20px;
        margin: 20px 0;
    }

    .legend-header h3 {
        font-size: 24px;
    }

    .legend-subtitle {
        font-size: 14px;
    }

    .legend-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .legend-class-item {
        padding: 12px;
        gap: 12px;
    }

    .class-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .legend-class-name {
        font-size: 13px;
    }

    .description-header {
        padding: 12px 15px;
    }

    .description-header h4 {
        font-size: 16px;
    }

    .description-content {
        padding: 15px;
    }

    .description-content p {
        font-size: 14px;
    }
}
