body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

/* Authorization Section */
#auth-section {
    max-width: 400px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#auth-section h2 {
    color: #333;
    margin-bottom: 20px;
}

#workstationInput {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

#authorizeButton {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

#authorizeButton:hover {
    background-color: #0056b3;
}

/* Portal Section */
#portal-section {
    max-width: 800px;
    margin: 0 auto;
}

#portal-title {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Queue Display */
#queue {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#queue li {
    list-style: none;
    background: #f8f9fa;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.queue-position {
    font-size: 14px;
    font-weight: bold;
    color: #2c3e50;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#queue li:nth-child(even) {
    background: #e9ecef;
}

/* Buttons */
button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 5px;
}

.pick-button {
    background-color: #28a745;
    color: white;
}

.pick-button:hover {
    background-color: #218838;
}

.remove-button {
    background-color: #dc3545;
    color: white;
}

.remove-button:hover {
    background-color: #c82333;
}

#logoutButton {
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    display: block;
    margin: 20px auto;
}

#logoutButton:hover {
    background-color: #5a6268;
}

/* Empty queue message */
.empty-queue {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Customer info display */
.customer-info {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #007bff;
    object-fit: cover;
}

.customer-text {
    flex: 1;
}

.customer-actions {
    display: flex;
    gap: 5px;
}
