/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body, html {
    height: 100%;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f1f3f8;
    color: #333;
}

/* Centering container */
.center-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
}

/* Card-style box for login/register */
.form-box {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 400px;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: #222;
}

form label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: border 0.2s;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #2196f3;
    outline: none;
}

button,
.form-box button {
    background: #2196f3;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    margin-top: 10px;
}

button:hover,
.form-box button:hover {
    background: #1976d2;
}

/* Timer label */
#timerDisplay {
    display: inline-block;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 10px;
    color: #333;
}

/* Secondary buttons (start/pause) */
button[type="button"] {
    background: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
    margin-right: 10px;
}
button[type="button"]:hover {
    background: #e0e0e0;
}

/* Navigation Links */
a {
    color: #2196f3;
    text-decoration: none;
    font-weight: 500;
}
a:hover {
    text-decoration: underline;
}

/* Ticket table */
table {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}
table th, table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
table th {
    background: #2196f3;
    color: white;
    font-weight: bold;
}
table tr:hover {
    background: #f9f9f9;
}

/* Action buttons in table */
.action-buttons button {
    margin-right: 6px;
    padding: 6px 12px;
    font-size: 0.9rem;
}
.delete-btn {
    background: #e53935;
}
.delete-btn:hover {
    background: #c62828;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .form-box {
        padding: 30px 20px;
    }
    form input, form select, form textarea {
        font-size: 0.95rem;
    }
}
