/* 
 * CSS untuk Jadwal Training Interaktif
 * Semua class dan id diawali dengan 'ts-' untuk menghindari konflik.
*/
.ts-container {
    max-width: 1000px;
    margin: auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ts-container h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

#ts-search-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

.ts-table-wrapper {
    overflow-x: auto;
}

#ts-schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

#ts-schedule-table th,
#ts-schedule-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle; 
}

#ts-schedule-table thead th {
    background-color: #3498db;
    color: white;
    cursor: pointer;
    position: relative;
    user-select: none;
}

#ts-schedule-table thead th:hover {
    background-color: #2980b9;
}

#ts-schedule-table thead th .ts-sort-indicator {
    display: inline-block;
    margin-left: 8px;
    opacity: 0.6;
}

#ts-schedule-table tbody tr:hover {
    background-color: #f2f8fc;
}

#ts-schedule-table td a {
    text-decoration: none;
    font-weight: 500;
}

#ts-schedule-table td a:hover {
    text-decoration: underline;
}

.ts-register-btn {
    padding: 8px 16px 8px 16px; 
	margin-bottom : 5px;
    border: none;
    background-color: #007bff; /* Vibrant blue */
    color: #ffffff; /* Pure white text for contrast */
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.ts-register-btn a {  color: #ffffff; /* Pure white text for contrast */
}

.ts-register-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #ffffff; /* Maintain white text on hover */
}

.ts-register-btn i {
    margin-right: 6px;
    font-size: 14px;
    vertical-align: middle;
}

.ts-whatsapp-btn {
    padding: 8px 16px;
    border: none;
    background-color: #28a745; /* Softer WhatsApp green */
    color: #ffffff; /* Pure white text for contrast */
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.ts-whatsapp-btn a {  color: #ffffff; /* Pure white text for contrast */
}
.ts-whatsapp-btn:hover {
    background-color: #218838; /* Darker green on hover */
    color: #ffffff; /* Maintain white text on hover */
}

.ts-whatsapp-btn i {
    margin-right: 6px;
    font-size: 14px;
    vertical-align: middle;
}