/* 
Theme Name: Personalblogily Child By VS
Theme URI: https://superbthemes.com/child-theme/simply-personal-blog/
Description: Child theme by VS... for - Simply Personal Blog is a responsive blog theme made for personal bloggers and lifestyle bloggers. Its beautiful and minimalistic look gives this theme a perfectly stylized image whether you're a food-, fashion-, travel- or lifestyle blogger. Theme Everest is always invested in all forms of optimization and Simply Personal Blog is no exception. In Simply Personal Blog, you'll find a stylized and highly optimized theme with swift load times across the board without any loss of perfomance and responsiveness. All this is bundled with our built-in first-class SEO ( Search Engine Optimization ) which will help you get a head start on search engines like Google and Bing. Get ready to be noticed, with Simply Personal Blog.
Author: VS
Author URI: http://qolhq.com/
Template: personalblogily
Version: 1.0
Requires at least: 4.0
Tested up to: 6.8
Requires PHP: 4.0
License URI: LICENSE
License: GNU General Public License v2 or later
Text Domain: simply-personal-blog-child-by-vs
Tags: theme-options, threaded-comments, translation-ready, sticky-post, footer-widgets, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-image-header, featured-images, flexible-header, right-sidebar, one-column, two-columns, blog, news, e-commerce


This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*Following is my own stylesheet*/

/* ============================================
   CONTACT FORM MODAL STYLES
   ============================================ */

/* Modal Container */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.show {
    opacity: 1;
}

/* Dark Overlay */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

/* Modal Content Box */
.modal-content {
    position: relative;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

/* Inner Padding */
.modal-inner {
    padding: 40px;
}

/* Close Button */
.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 36px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s, transform 0.2s;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #333;
    transform: rotate(90deg);
}

/* Modal Title */
.modal-inner h2 {
    margin: 0 0 30px 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
}

/* Contact Form 7 Field Styles */
.contact-modal .wpcf7-form p {
    margin-bottom: 20px;
}

.contact-modal .wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 14px;
}

.contact-modal .wpcf7-form input[type="text"],
.contact-modal .wpcf7-form input[type="email"],
.contact-modal .wpcf7-form input[type="tel"],
.contact-modal .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.contact-modal .wpcf7-form input:focus,
.contact-modal .wpcf7-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.contact-modal .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.contact-modal .wpcf7-form input[type="submit"] {
    background: #3498db;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
}

.contact-modal .wpcf7-form input[type="submit"]:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.contact-modal .wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Contact Form 7 Messages */
.contact-modal .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
}

.contact-modal .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-modal .wpcf7-validation-errors,
.contact-modal .wpcf7-mail-sent-ng {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-modal .wpcf7-spinner {
    margin: 0 10px;
}

/* Validation Errors */
.contact-modal .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Animation */
@keyframes slideDown {
    from {
        transform: translateY(-50%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-inner {
        padding: 30px 20px;
    }
    
    .modal-inner h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .close-modal {
        right: 15px;
        top: 15px;
    }
}

/* Smooth scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hide Contact Form 7 Honeypot Field AND Label */
.contact-modal .wpcf7-form p:has(input[name*="honeypot"]),
.contact-modal .wpcf7-form p:has(input[name*="acceptance"]),
.contact-modal .wpcf7-form label[for*="honeypot"],
.contact-modal .wpcf7-form .wpcf7-acceptance-wrap,
.contact-modal .wpcf7-form .wpcf7-acceptance,
.contact-modal .wpcf7-form-control-wrap[data-name*="honeypot"],
.contact-modal .wpcf7-form input[type="text"][name*="honeypot"],
.contact-modal .wpcf7-form input[type="checkbox"][name*="honeypot"],
.contact-modal .wpcf7-form .hp-message {
    display: none !important;
    visibility: hidden !important;
}

/* Fallback - hide entire paragraph containing honeypot */
.contact-modal .wpcf7-form p:has(.wpcf7-acceptance),
.contact-modal .wpcf7-form p:has([name*="honeypot"]) {
    display: none !important;
}