/* Zyberon Plugin - Modern Gradient Form */
.zyb-wrap {
    max-width: 700px;
    margin: 20px auto;
    color: #ffffff;
    padding: 0 12px;
    font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
}

/* Cards */
.zyb-card {
    background: linear-gradient(135deg, #0F6199, #B4F0FF);
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
    border: none;
    transition: all 0.3s ease;
}
.zyb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.zyb-card h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}
.zyb-sub {
    color: #e0f0fb;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Rows & Inputs */
.zyb-row {
    margin-bottom: 16px;
}
.zyb-row label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 6px;
}

/* Default: white background */
.zyb-row input[type=text],
.zyb-row input[type=email],
.zyb-row input[type=tel],
.zyb-row select,
.zyb-row textarea,
.zyb-phone input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #000;
}

/* Placeholders - dark on white bg */
.zyb-row input::placeholder,
.zyb-row textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

/* Focus or has value -> transparent bg + white text */
.zyb-row input:focus,
.zyb-row textarea:focus,
.zyb-row select:focus,
.zyb-row input:not(:placeholder-shown),
.zyb-row textarea:not(:placeholder-shown) {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Placeholders switch to light when focused */
.zyb-row input:focus::placeholder,
.zyb-row textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
/* Country & City dropdowns */
#zyb-country,
#zyb-city {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #ffffff; /* can be transparent if needed */
    color: #000;

    padding-right: 35px; /* Space for arrow */

    /* White arrow icon */
    background-image: url("data:image/svg+xml,%3Csvg fill='white' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

/* Focus style */
#zyb-country:focus,
#zyb-city:focus {
    background-color: transparent;
    color: #ffffff;
    outline: none;

    /* Keep arrow visible on focus */
    background-image: url("data:image/svg+xml,%3Csvg fill='white' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}


/* Phone input */
.zyb-phone {
    display: flex;
    align-items: center;
}
#zyb-country-code {
    padding: 12px 14px;
    border-radius: 10px 0 0 10px;
    background: #ffffff;
    border: 2px solid #ffffff;
    margin-right: 6px;
    font-weight: 500;
    color: #000;
    font-size: 14px;
    transition: all 0.3s ease;
}
#zyb-country-code:focus,
#zyb-country-code:not(:placeholder-shown) {
    background: transparent;
    color: #ffffff !important;
}
.zyb-phone input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 0 10px 10px 0 !important;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-left: none;
    font-size: 14px;
    color: #000;
    transition: all 0.3s ease;
    height: 56px;
}
.zyb-phone input:focus,
.zyb-phone input:not(:placeholder-shown) {
    background: transparent;
    color: #ffffff !important;
}

/* Textarea */
.zyb-row textarea {
    min-height: 120px;
    resize: vertical;
}

/* Choices Buttons */
.zyb-choices {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.zyb-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 10px 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin: 5px;
    color: #fff;
    min-width: 80px;
}
.zyb-choice.yes { background-color: #28a745; }
.zyb-choice.partially { background-color: #fd7e14; }
.zyb-choice.no { background-color: #dc3545; }
.zyb-choice.na { background-color: #ffc107; color: #000; }
.zyb-choice:hover { opacity: 0.85; transform: translateY(-2px); }

/* Feedback */
.zyb-feedback {
    margin-top: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    display: none;
    font-size: 14px;
}
.zyb-feedback.success {
    background: rgba(0, 128, 0, 0.15);
    color: #00ffaa;
    border: 1px solid #00ffaa;
}
.zyb-feedback.error {
    background: rgba(255, 0, 0, 0.15);
    color: #ff5555;
    border: 1px solid #ff5555;
}

/* Grid 2 columns */
.zyb-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Assessment Questions */
.zyb-progress {
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 18px;
}
.zyb-progress .bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0F6199, #19c6b6);
    transition: width 0.3s ease;
}
.zyb-question {
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 14px;
    color: #000;
}

/* Results */
.zyb-result {
    padding: 14px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
    font-weight: 500;
}

/* Assessment Result Styles */
.zyb-result-display {
    background-color: transparent;
    padding: 25px;
    border-radius: 16px;
    color: #fff;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}
.zyb-result-display h2 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);

    /* White gradient */
    background: linear-gradient(90deg, #ffffff, #ffffff); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* fallback */
}


/* Result Table */
.zyb-result-table {
    border-collapse: collapse;
    width: 100%;
    background: linear-gradient(135deg, #e0f7fa, #80deea);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.zyb-result-table th, .zyb-result-table td {
    padding: 12px;
    text-align: left;
}
.zyb-result-table th {
    background: linear-gradient(135deg, #0F6199, #19c6b6);
    color: white;
    font-size: 16px;
}
.zyb-result-table td {
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.zyb-result-table tbody tr:hover {
    background: rgba(255,255,255,0.1);
}
.zyb-result-table td i {
    font-size: 22px;
    margin-right: 8px;
    vertical-align: middle;
    animation: iconBounce 1s 3 alternate;
}

/* Icon Colors */
.status-icon { color: #FF6B6B; }
.score-icon { color: #FFD93D; }
.maturity-icon { color: #6BCB77; }

/* Recommendations */
.zyb-recommendations-row {
    background: linear-gradient(135deg, #B4F0FF, #B4FFC9);
    font-style: italic;
    color: #000;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.zyb-recommendations-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}
.zyb-recommendations-list {
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
}
.zyb-recommendations-list li {
    margin-bottom: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.warning-icon { color: #FFC107; margin-right: 6px; }
.tick-icon { color: #4CAF50; margin-right: 6px; }

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes iconBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}
/* ReCAPTCHA wrapper + Inline Submit */
.zyb-captcha-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: nowrap; /* keep them side by side */
}

.zyb-recaptcha-wrapper {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-recaptcha,
.g-recaptcha iframe {
    border-radius: 10px;
    height: 100% !important;
    width: 100% !important;
    display: block;
}

/* Submit Button wrapper */
.zyb-submit-wrapper {
    width: 300px; /* fixed width so it won’t collapse */
    height: 75px; /* same height as captcha */
    display: flex;
    align-items: stretch;
}

.zyb-submit-wrapper .zyb-btn {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* General Button Style */
.zyb-btn {
    background: linear-gradient(135deg, #0F6199, #19c6b6);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s ease;
}
.zyb-btn:hover {
    background: linear-gradient(135deg, #19c6b6, #0F6199);
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Responsive */
/* Responsive */
@media screen and (max-width: 768px) {
    .zyb-grid-2 { grid-template-columns: 1fr; }
    .zyb-wrap { padding: 0 10px; }

    /* Stack captcha + submit vertically */
    .zyb-captcha-row { 
        flex-direction: column; 
        gap: 12px; /* more spacing between elements */
    }

    /* Make recaptcha taller and wider */
    .zyb-recaptcha-wrapper { 
        height: 120px; /* increase height */
        width: 100%; /* almost full width */
    }

    .g-recaptcha,
    .g-recaptcha iframe { 
        height: 100% !important; 
        width: 100% !important; 
    }

    /* Make submit button wider */
    .zyb-submit-wrapper { 
        width: 100%; 
        height: 75px; /* slightly taller */
    }

    .zyb-submit-wrapper .zyb-btn { 
        width: 100%; 
        height: 100%; 
    }
	
	.zyb-phone input,
#zyb-country-code {
    font-size: 18px; /* prevent zoom */
    line-height: 1.4;
}

}
@media screen and (max-width: 768px) {
    .zyb-card h2,
    .zyb-result-display h2 {
        font-size: 22px; /* smaller font on mobile */
        line-height: 1.2; /* tighter line spacing */
        word-break: keep-all; /* prevent breaking words */
    }
}


/* Assessment Buttons Styling */
.zyb-restart {
    display: flex;
    gap: 12px; /* equal gap between buttons */
    flex-wrap: wrap;
    justify-content: center; /* center alignment */
}

.zyb-restart .zyb-btn {
    background: transparent !important;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.zyb-restart .zyb-btn:hover {
    background: linear-gradient(135deg, #0F6199, #19c6b6);
    color: #ffffff !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Specific button spacing */
#zyb-restart-btn,
#zyb-download-btn,
#zyb-consult-btn {
    flex: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .zyb-restart {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .zyb-restart .zyb-btn {
        width: 100%;
        max-width: 300px;
    }
}



/* Wrap the select for custom arrow */
.zyb-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.zyb-select-wrapper select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 16px;
}

/* Custom arrow using pseudo-element */
.zyb-select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    pointer-events: none;

    /* Draw arrow using CSS */
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-50%) rotate(-45deg);
}


/* --- NEW EMAIL TABLE STYLES --- */
.email-table {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
}
.email-table th {
    background: #0F6199;
    color: #fff;
    padding: 10px;
    text-align: left;
}
.email-table td {
    border: 1px solid #ccc;
    padding: 8px;
}
.email-table tr:nth-child(even) td {
    background: #f9f9f9;
}
.email-table h2 {
    color: #0F6199;
    font-size: 20px;
    margin-bottom: 10px;
}
.email-table h3 {
    color: #0F6199;
    font-size: 18px;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .zyb-result-table {
        display: block !important;
        width: 100% !important;      /* full width */
        max-width: 100% !important;  /* prevent overflow */
        margin-left: auto !important;
        margin-right: auto !important; /* center table */
        overflow-x: auto;            /* allow horizontal scroll if needed */
    }
}


