/* Public Staff Interface Styles - Simple, Colorful, Official */

.em-staff-interface {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.em-staff-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    border-left: 5px solid #0f3460;
}

.em-staff-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #0f3460;
    letter-spacing: 0.5px;
}

.em-header-info {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.em-staff-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.em-staff-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 550px;
    border: 1px solid #e0e0e0;
}

.em-staff-card h2 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #0f3460;
    padding-bottom: 15px;
}

.em-notice-info {
    text-align: center;
    color: #666;
    font-size: 13px;
    margin-bottom: 30px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #0f3460;
}

.em-form-group {
    margin-bottom: 20px;
}

.em-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.em-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafafa;
    font-weight: 500;
}

.em-form-group input:focus {
    outline: none;
    border-color: #0f3460;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 52, 96, 0.1);
}

.em-form-group input::placeholder {
    color: #999;
    font-weight: 400;
}

.em-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 35px 0 25px;
}

.em-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 65px;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.em-btn:hover {
    color: #ffffff !important;
}

.em-btn:active {
    color: #ffffff !important;
}

.em-btn:focus {
    color: #ffffff !important;
}

.em-status-icon {
    font-size: 28px;
    line-height: 1;
}

.em-btn-safe-ready {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    border: 2px solid #28a745;
    font-weight: 700;
}

.em-btn-safe-ready:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.em-btn-safe-unable {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #ffffff;
    border: 2px solid #ffc107;
    font-weight: 700;
}

.em-btn-safe-unable:hover:not(:disabled) {
    background: linear-gradient(135deg, #e0a800 0%, #e68900 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.em-btn-emergency {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    border: 2px solid #dc3545;
    animation: em-pulse-emergency 2s infinite;
    font-size: 16px;
    font-weight: 700;
}

.em-btn-emergency:hover:not(:disabled) {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(220, 53, 69, 0.6);
}

@keyframes em-pulse-emergency {
    0%, 100% {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    50% {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 0 0 12px rgba(220, 53, 69, 0);
    }
}

.em-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.em-info-text {
    text-align: center;
    color: #666;
    font-size: 13px;
    margin-top: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .em-staff-interface {
        padding: 15px;
    }
    
    .em-staff-card {
        padding: 25px 15px;
    }
    
    .em-staff-card h2 {
        font-size: 20px;
    }
    
    .em-btn {
        padding: 14px 12px;
        min-height: auto;
        font-size: 13px;
        gap: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        line-height: 1.3;
    }
    
    .em-status-icon {
        font-size: 20px;
        flex-shrink: 0;
    }
    
    .em-buttons-group {
        gap: 12px;
    }
}
