* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Login Styles */
.login-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9em;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #004494;
}

.error {
    color: #d9534f;
    margin-top: 15px;
    text-align: center;
    font-size: 0.9em;
}

.hidden {
    display: none;
}

/* Dashboard Styles */
.dashboard-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 800px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.secondary-btn {
    width: auto;
    background-color: #6c757d;
    padding: 8px 16px;
}

.secondary-btn:hover {
    background-color: #5a6268;
}

.gif-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 30px;
    color: #adb5bd;
    font-size: 1.5em;
    font-weight: bold;
    overflow: hidden;
}

.gif-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-panel {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #0056b3;
}

#sessionResult {
    margin-top: 15px;
    font-weight: bold;
}