body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f7f6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.controls label {
    font-weight: bold;
}

.controls input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.controls button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.controls button:hover {
    background-color: #0056b3;
}

#sessionStatus {
    margin-left: 20px;
    font-weight: bold;
    color: #dc3545;
}

#replayer-wrapper {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
    min-height: 400px; /* Memberi ruang untuk player */
    position: relative;
}

.rrweb-player {
    border-radius: 5px; /* Sesuaikan agar sesuai dengan wrapper */
}

.session-list {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

#availableSessions {
    list-style: none;
    padding: 0;
}

#availableSessions li {
    background-color: #e9ecef;
    margin-bottom: 8px;
    padding: 12px 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#availableSessions li:hover {
    background-color: #dee2e6;
}

#availableSessions li span {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

#availableSessions li button {
    background-color: #28a745;
    padding: 8px 15px;
}

#availableSessions li button:hover {
    background-color: #218838;
}