body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container { 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5em; 
    border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.07);
    width: 100%;
    max-width: 400px;
    margin: 1em;
    border: 1px solid rgba(255,255,255,0.2);
}
.logo {
    text-align: center;
    margin-bottom: 2em;
}
.logo h1 {
    margin: 0;
    color: #667eea;
    font-size: 2em;
    font-weight: 300;
}
.logo p {
    margin: 0.5em 0 0 0;
    color: #666;
    font-size: 14px;
}
input, button { 
    width: 100%; 
    padding: 1em; 
    margin: 0.7em 0; 
    border: 2px solid #e1e5e9; 
    border-radius: 12px; 
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
input {
    background: rgba(255,255,255,0.9);
}
input:focus { 
    border-color: #667eea; 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
button { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
    border: none; 
    cursor: pointer; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
button:hover { 
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
button:active {
    transform: translateY(0);
}
.error { 
    color: #e74c3c; 
    background: rgba(231, 76, 60, 0.1); 
    padding: 1em; 
    border-radius: 10px; 
    margin: 1em 0; 
    border: 1px solid rgba(231, 76, 60, 0.2);
    font-size: 14px;
}
.info { 
    color: #667eea; 
    font-size: 14px; 
    margin-bottom: 1.5em; 
    padding: 1em;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}
.login-footer {
    text-align: center;
    margin-top: 2em;
    color: #666;
    font-size: 12px;
}

/* Voucher Preview Styles */
.voucher-preview {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 15px;
    padding: 1.5em;
    margin-bottom: 1.5em;
}
.voucher-preview-header h3 {
    margin: 0 0 1em 0;
    color: #667eea;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
}
.voucher-preview-content {
    text-align: center;
}
.voucher-description {
    background: white;
    padding: 1em;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 1em;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.voucher-qr-container {
    margin: 1em 0;
}
.voucher-qr-code {
    border: 3px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}
.voucher-expiration {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #856404;
    padding: 0.8em;
    border-radius: 8px;
    margin: 1em 0;
    font-size: 14px;
}

.status-row {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 0.8em;
    border-radius: 8px;
    margin: 1em 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dashboard-consistent badge pills */
.voucher-status.badge,
.status-badge,
.badge-pill,
span.voucher-status:not(.badge) {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.status-valid {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.status-used {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.status-expired {
    background: linear-gradient(135deg, #fd7e14, #e63946);
    color: white;
    box-shadow: 0 2px 8px rgba(253, 126, 20, 0.3);
}

.multi-use-status-container {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

.usage-count-display {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-block;
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

/* Badge icons are provided by css/status-badges.css */

@media (max-width: 768px) {
    .voucher-status, .usage-count-display {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}
.voucher-notice {
    background: rgba(23, 162, 184, 0.1);
    border: 1px solid rgba(23, 162, 184, 0.3);
    color: #0c5460;
    padding: 1em;
    border-radius: 10px;
    margin-top: 1em;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.5em;
        margin: 0.5em;
    }
    .logo h1 {
        font-size: 1.5em;
    }
    input, button {
        padding: 0.9em;
        font-size: 15px;
    }
    .voucher-preview {
        padding: 1em;
    }
    .voucher-preview-header h3 {
        font-size: 1em;
    }
    .voucher-description {
        padding: 0.8em;
    }
    .voucher-qr-code {
        max-width: 100px;
        height: auto;
    }
}
