/* ================================== */
/* css/pdf-unlock.css
/* Page-specific styles for Unlock Tool
/* Theme: Amber/Gold (Keys)
/* ================================== */

/* Force White Text for Badge */
#unlockBadge {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 1. Gradient Border Input Box */
.input-gradient-wrap {
    padding: 2px;
    border-radius: 0.6rem;
    /* Amber to Orange Gradient */
    background: linear-gradient(to bottom right, #f59e0b, #ea580c); 
    transition: all 0.3s ease;
}
.input-gradient-wrap:focus-within {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.input-gradient-wrap input {
    width: 100%;
    border: none !important;
    outline: none !important;
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
    padding-right: 2.5rem;
    background-color: var(--bg-primary); 
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

body.dark .input-gradient-wrap input {
     background-color: var(--bg-secondary-hover);
}

/* Hide Default Eye */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* 2. Preview Container */
#unlockPagePreview {
    background-image: 
        radial-gradient(#fcd34d 1px, transparent 1px),
        radial-gradient(#fcd34d 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

body.dark #unlockPagePreview {
    background-image: 
        radial-gradient(#78350f 1px, transparent 1px),
        radial-gradient(#78350f 1px, transparent 1px);
    background-color: #0f172a;
}

#canvasWrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#previewImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 4px;
}

/* 3. File Info Text Visibility */
#unlockFileInfo p#unlockFileName {
    color: var(--text-primary) !important;
    font-weight: 600;
}
