/* ============================================
   STAFF PORTAL SPECIFIC STYLES
   Additional styles for staff portal pages
   ============================================ */

/* User Info Section */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-email {
    font-size: 13px;
    opacity: 0.9;
}

.sign-out-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s;
}

.sign-out-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Login Screen */
.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #ffffff;
}

.login-card {
    background: #000000;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    color: #ffffff;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.login-subtitle {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 32px;
}

.google-signin-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.login-notice {
    font-size: 12px;
    color: #999999;
    line-height: 1.6;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e5e5;
}

.tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
}

.tab:hover {
    color: #000;
}

.tab.active {
    color: #000;
    border-bottom-color: #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* File Input */
.file-input-wrapper {
    position: relative;
    width: 100%;
}

.file-input-button {
    background: #f8f8f8;
    border: 2px dashed #d0d0d0;
    border-radius: 4px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-input-button:hover {
    border-color: #000000;
    background: #f0f0f0;
}

.file-input-button.has-file {
    border-color: #4CAF50;
    background: #f1f8f4;
}

input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    top: 0;
    left: 0;
    cursor: pointer;
}

.selected-file {
    margin-top: 12px;
    padding: 12px;
    background: #f1f8f4;
    border-radius: 4px;
    color: #4CAF50;
    font-weight: 500;
    display: none;
    font-size: 14px;
}

/* Progress Bar */
.progress-container {
    display: none;
    margin-top: 16px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #000000;
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    margin-top: 8px;
    color: #666;
    font-size: 13px;
}

/* Customer List */
.customers-list {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

.customer-item {
    padding: 16px;
    background: #f8f8f8;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customer-info {
    flex: 1;
}

.customer-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.customer-meta {
    font-size: 12px;
    opacity: 0.7;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

/* Token History Specific */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.token-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fafafa;
    border-radius: 6px;
}

.token-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.token-code {
    font-family: monospace;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.token-code-short {
    font-family: monospace;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-block;
}

.token-code-full {
    font-family: monospace;
    background: white;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    word-break: break-all;
    border: 1px solid #e0e0e0;
    line-height: 1.6;
    user-select: all;
}

.token-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
}

.upload-list {
    background: white;
    border-radius: 4px;
    padding: 16px;
}

.upload-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.upload-item:last-child {
    border-bottom: none;
}

.upload-filename {
    font-weight: 600;
    margin-bottom: 4px;
}

.upload-details {
    font-size: 12px;
    color: #666;
}

.no-uploads {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-card {
        padding: 32px 24px;
    }

    .customer-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .action-buttons {
        flex-direction: column;
    }
}