/* pdf-security.css – shared styles for: Protect / unlock PDF.
   Loaded after /assets/css/site.css. Replaces: unlock-pdf.css, protect-pdf.css */

.drop-zone {
    background: #ffffff;
    border: 2px dashed #cbd5e0;
    border-radius: 1.25rem;
    padding: 2.5rem 1rem;
    margin: 1rem 0 1.5rem;
    transition: all 0.2s;
}

.drop-zone.drag-over {
    border-color: #3666d1;
    background: #eef3fc;
}

.file-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.control-box {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.control-box label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.password-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: 0.2s;
}

.password-input:focus {
    outline: none;
    border-color: #3666d1;
    box-shadow: 0 0 0 3px rgba(54, 102, 209,0.2);
}

.eye-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.eye-toggle:hover {
    opacity: 1;
}

.btn {
    background: #3666d1;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 2rem;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-primary {
    background: #3666d1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-primary:hover:not(:disabled) {
    background: #2b4c94;
}

.btn:disabled {
    opacity: 0.6;
}

#download-section {
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #c6f6d5;
}

.warning-note {
    background: #fefcbf;
    border-left: 4px solid #ecc94b;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

.info-note {
    background: #e6f7ff;
    border-left: 4px solid #3666d1;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

.compression-stats {
    background: #e6fffa;
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-weight: 600;
    flex-wrap: wrap;
}
