/* Shielded Site - Formularz logowania */

.shielded-site-body {
    height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
}

.sc-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.sc-box {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sc-box h1 {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #2d3748;
}

.sc-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.sc-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    background: #f7fafc;
}

.sc-form input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

.sc-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.sc-remember {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}

.sc-remember input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #667eea;
    height: auto;
}

.sc-submit {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sc-submit:hover {
    transform: translateY(-1px);
}

.sc-submit:active {
    transform: translateY(0);
}

.error-message {
    color: #e53e3e !important;
    background: #fed7d7;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    border-left: 4px solid #e53e3e;
    font-size: 14px;
}

/* Responsywność */
@media (max-width: 480px) {
    .sc-box {
        padding: 24px 20px;
        margin: 0 16px;
    }
    
    .sc-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .sc-remember {
        justify-content: center;
    }
    
    .sc-submit {
        width: 100%;
        padding: 14px 24px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .sc-box {
        background: rgba(26, 32, 44, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sc-box h1 {
        color: #f7fafc;
    }
    
    .sc-form label,
    .sc-remember {
        color: #e2e8f0;
    }
    
    .sc-form input[type="password"] {
        background: #2d3748;
        border-color: #4a5568;
        color: #f7fafc;
    }
    
    .sc-form input[type="password"]:focus {
        background: #2d3748;
        border-color: #667eea;
    }
}