/*
Theme Name: Kappabel Minimal Theme
Theme URI: https://kakarakidis.gr
Author: Kappabel
Description: A minimalist, super small theme specifically designed to host the Kappabel Packaging Order Form. It features a solid dark blue background to seamlessly blend with the form and completely strips away headers, footers, and sidebars.
Version: 1.0
License: GPLv2 or later
Text Domain: kappabel-theme
*/

html, body {
    margin: 0;
    padding: 0;
    background-color: #01365f; /* Matches the email template and blends with the form wrapper */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#kappabel-app-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    padding: 20px 10px;
}

.kappabel-page-content {
    width: 100%;
    max-width: 1000px; /* Slightly wider for the form */
    margin: 0 auto;
}

/* Specific styling for text-heavy pages like Privacy Policy */
.kappabel-page-content:not(:has(#lpf-form-wrapper)) {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kappabel-page-content h1, 
.kappabel-page-content h2, 
.kappabel-page-content h3 {
    color: #ffffff;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.kappabel-page-content p,
.kappabel-page-content li {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.kappabel-page-content ul {
    margin-bottom: 1.5em;
}

#kappabel-footer {
    padding: 30px 20px;
    text-align: center;
}

#kappabel-footer a.privacy-policy-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#kappabel-footer a.privacy-policy-link:hover {
    opacity: 1;
}

/* On larger screens, center vertically if the form is small enough, otherwise let it scroll naturally */
@media (min-width: 768px) {
    #kappabel-app-container {
        padding: 40px 20px;
    }
}
