/**
 * BotFend Anti-Bot Firewall - Block Screen Styles
 * Version: 4.8.1
 * 
 * This file is purely presentational and contains no executable code.
 * All styles are properly escaped by WordPress when enqueued.
 */

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 650px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: botfend-fadeInUp 0.5s ease-out;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 30px 25px;
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-align: center;
}

p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

/* ============================================
   CONTENT AREA
   ============================================ */

.container > div:not(h1) {
    padding: 30px;
}

/* ============================================
   NOTICE BOXES
   ============================================ */

.notice {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.notice strong {
    color: #2c5282;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.notice ul, .notice p {
    margin-bottom: 0;
    font-size: 14px;
}

.notice li {
    margin-left: 20px;
    margin-bottom: 5px;
    color: #4a5568;
}

/* Permanent Block Notice */
.permanent-notice {
    background: #fff5f5;
    border-left-color: #e53e3e;
}

.permanent-notice strong {
    color: #c53030;
}

/* Whitelist Info Box */
.whitelist-info {
    background: #fefcbf;
    border-left: 4px solid #d69e2e;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.whitelist-info strong {
    color: #975a16;
    display: block;
    margin-bottom: 8px;
}

.whitelist-info p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Success Message (Unblock Form) */
.success {
    background: #c6f6d5;
    border-left: 4px solid #38a169;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    color: #22543d;
    font-weight: 500;
}

/* Error Message (Unblock Form) */
.error {
    background: #fed7d7;
    border-left: 4px solid #e53e3e;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    color: #742a2a;
    font-weight: 500;
}

/* ============================================
   LISTS
   ============================================ */

ol, ul {
    margin: 15px 0 15px 25px;
    color: #4a5568;
}

li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn, button[type="submit"] {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover, button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
}

.btn:active, button[type="submit"]:active {
    transform: translateY(0);
}

/* ============================================
   FORM STYLES (Unblock Form)
   ============================================ */

form {
    margin-top: 20px;
}

input[type="email"],
textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
    vertical-align: middle;
}

label {
    color: #4a5568;
    font-size: 14px;
    cursor: pointer;
    display: block;
    margin: 10px 0;
}

/* ============================================
   SMALL TEXT
   ============================================ */

small {
    font-size: 12px;
    color: #718096;
    display: block;
    margin-top: 15px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes botfend-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 640px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 22px;
        padding: 20px 20px 15px;
    }
    
    .container > div:not(h1) {
        padding: 20px;
    }
    
    .btn, button[type="submit"] {
        width: 100%;
        text-align: center;
    }
    
    p, li {
        font-size: 14px;
    }
    
    .notice, .whitelist-info, .success, .error {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }
    
    .container > div:not(h1) {
        padding: 15px;
    }
    
    ol, ul {
        margin-left: 20px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn, button, .notice a {
        display: none;
    }
}

/* ============================================
   DARK MODE SUPPORT (Respects OS Preference)
   ============================================ */

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .container {
        background: #1e1e2e;
    }
    
    h1 {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    p, li, label {
        color: #cbd5e0;
    }
    
    .notice {
        background: #2d3748;
        border-left-color: #4299e1;
    }
    
    .notice strong {
        color: #90cdf4;
    }
    
    .notice li {
        color: #cbd5e0;
    }
    
    .permanent-notice {
        background: #2d3748;
        border-left-color: #fc8181;
    }
    
    .permanent-notice strong {
        color: #fc8181;
    }
    
    .whitelist-info {
        background: #2d3748;
        border-left-color: #f6ad55;
    }
    
    .whitelist-info strong {
        color: #fbd38d;
    }
    
    .success {
        background: #22543d;
        border-left-color: #48bb78;
        color: #c6f6d5;
    }
    
    .error {
        background: #742a2a;
        border-left-color: #f56565;
        color: #fed7d7;
    }
    
    input[type="email"],
    textarea {
        background: #2d3748;
        border-color: #4a5568;
        color: #cbd5e0;
    }
    
    input[type="email"]:focus,
    textarea:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    }
    
    small {
        color: #a0aec0;
    }
}