/**
 * Location Shortcodes Styles
 */

.acm-course-details-table {
    width: 100%;
    border-collapse: collapse;
}

.acm-course-details-table td {
    padding: 12px 16px;
    vertical-align: top;
    border-bottom: 1px solid #e5e5e5;
}

.acm-course-details-table td:first-child {
    width: 30%;
    white-space: nowrap;
}

.acm-course-details-table td:last-child {
    width: 70%;
}

.acm-course-details-table strong {
    font-weight: 600;
}

.acm-location-button {
    display: inline-block;
    width: auto;
    background: var(--acm-accent);
    color: var(--acm-white);
    border: none;
    padding: var(--acm-space-md) 30px;
    font-size: var(--acm-font-medium);
    font-weight: 600;
    border-radius: var(--acm-radius-sm);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.acm-location-button:hover {
    background: var(--acm-accent-dark);
    color: var(--acm-white);
    transform: translateY(-2px) !important;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3) !important;
}

.acm-location-button.acm-button-disabled {
    background: #ccc;
    color: var(--acm-text-muted);
    cursor: not-allowed;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.acm-location-button.acm-button-disabled:hover {
    transform: none !important;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1) !important;
}

div.acm-location-status-message {
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    border-radius: var(--acm-radius-sm) !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif !important;
    font-size: var(--acm-font-medium) !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
}

div.acm-location-status-message.acm-status-open {
    background: #d4edda !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}

div.acm-location-status-message.acm-status-enrolling-soon {
    background: #fff3cd !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}

div.acm-location-status-message.acm-status-fully-booked,
div.acm-location-status-message.acm-status-closed,
div.acm-location-status-message.acm-status-no-terms {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}
