/*
 Theme Name:   Freeio Child
 Theme URI:    https://themeforest.net/item/freeio-freelance-marketplace-wordpress-theme/42045416
 Description:  Freeio Child Theme
 Author:       ApusTheme
 Author URI:   http://apusthemes.com
 Template:     freeio
 Version:      1.0.0
 Text Domain:  freeio-child
*/
/* ==========================================================================
   FUV Main Plugin - Custom Info/Action Popup Styles
   ========================================================================== */

.fuv-main-custom-popup-overlay { /* Updated class name */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Slightly darker overlay */
    display: flex; /* Keep using flex for centering */
    justify-content: center;
    align-items: center;
    z-index: 100000; /* Ensure it's on top of most things, including theme modals if needed */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s; /* Hide visibility after transition */
}

.fuv-main-custom-popup-overlay.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.fuv-main-custom-popup-content { /* Updated class name */
    background-color: #ffffff;
    padding: 25px 30px 30px 30px; /* Adjusted padding */
    border-radius: 6px; /* Slightly softer radius */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 480px; /* Slightly wider */
    width: calc(100% - 40px); /* Responsive width with padding */
    position: relative;
    transform: translateY(-20px) scale(0.95); /* Start slightly up and smaller */
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.fuv-main-custom-popup-overlay.visible .fuv-main-custom-popup-content {
    transform: translateY(0) scale(1); /* Animate to final position */
    opacity: 1;
}

.fuv-main-custom-popup-content .popup-title { /* Referenced by ID in JS, but can style by class too */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px; /* Adjusted */
    font-weight: 600;
    color: #333;
}

/* Styles for the message area which might contain <p> tags or direct HTML from JS */
#fuv-main-popup-message-area p {
    margin-bottom: 10px; /* Space between paragraphs if message has multiple */
    font-size: 15px;    /* Adjusted */
    line-height: 1.6;
    color: #555;
}
#fuv-main-popup-message-area p:last-child {
    margin-bottom: 0; 
}
#fuv-main-popup-message-area a { /* Style links within messages */
    color: #0073aa; /* WordPress default blue, or your theme's link color */
    text-decoration: underline;
}
#fuv-main-popup-message-area a:hover {
    color: #005177;
}

#fuv-main-popup-error-message { /* For specific AJAX errors shown in the popup */
    color: #D8000C; /* Red for errors */
    background-color: #FFD2D2; /* Light red background */
    border: 1px solid #D8000C;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
}
#fuv-main-popup-error-message:empty {
    display: none;
}


.fuv-main-custom-popup-content .popup-actions { /* Referenced by ID in JS */
    margin-top: 25px;
}

.fuv-main-custom-popup-content .popup-actions button {
    margin: 5px; /* Allow wrapping on small screens */
    padding: 10px 22px; /* Adjusted padding */
    font-size: 15px;   /* Adjusted */
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Example primary button style (you might want to match your theme's .btn-theme) */
.fuv-main-custom-popup-content .popup-actions button.btn-theme,
.fuv-main-custom-popup-content .popup-actions button.btn-primary {
    background-color: #0073aa; /* Example: WordPress blue */
    color: #fff;
    border-color: #0073aa;
}
.fuv-main-custom-popup-content .popup-actions button.btn-theme:hover,
.fuv-main-custom-popup-content .popup-actions button.btn-primary:hover {
    background-color: #005177;
    border-color: #005177;
}

/* Example secondary button style */
.fuv-main-custom-popup-content .popup-actions button.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border-color: #cccccc;
}
.fuv-main-custom-popup-content .popup-actions button.btn-secondary:hover {
    background-color: #e0e0e0;
    border-color: #bbbbbb;
}


.fuv-main-custom-popup-close-btn { /* Referenced by ID in JS */
    position: absolute;
    top: 12px;  /* Adjusted */
    right: 12px; /* Adjusted */
    background: none;
    border: none;
    font-size: 26px; /* Adjusted */
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    padding: 5px;
}
.fuv-main-custom-popup-close-btn:hover {
    color: #555;
}

/* Styling for the #fuv-main-payment-success-notice div */
#fuv-main-payment-success-notice {
    border-left-width: 4px; /* Add a thicker left border for emphasis */
    padding: 12px 20px;
    font-size: 15px;
    text-align: center;
}