/* ACTAV VTC Widget Styles */
.actav-vtc-widget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 40px 0;
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    font-size: 18px;
}

.actav-vtc-widget * {
    box-sizing: border-box;
}

/* Header */
.actav-vtc-widget .vtc-header {
    background: #0055ff;
    color: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
}

.actav-vtc-widget .vtc-header h1 {
    font-size: 3em;
    margin: 0 0 10px 0;
    font-weight: 700;
    color: white;
}

.actav-vtc-widget .vtc-header p {
    font-size: 1.4em;
    opacity: 0.95;
}

/* Content */
.actav-vtc-widget .vtc-content {
 
    padding: 30px;
    border-radius: 0;

}

/* Sections */
.actav-vtc-widget .vtc-section {
    margin-bottom: 30px;
    padding: 40px 60px;
    background: white;
    border-radius: 30px;
    border: none;
}

/* Quiz Section - with border */
.actav-vtc-widget .quiz-section {
    border: 1px solid #000;
    border-top-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 5px;
    border-right-width: 5px;
}

.actav-vtc-widget .vtc-section-title {
    font-size: 2.2em;
    color: #000;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-align: center;
}

.actav-vtc-widget .quiz-instructions {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 25px !important;
    color: #4b5563;
    line-height: 1.6;
    font-size: 1.1em;
    text-align: center;
}

/* Zone Titles */
.actav-vtc-widget .zone-title {
    font-size: 1.3em;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.actav-vtc-widget .zone-title.red-zone {
    color: #e74c3c;
}

.actav-vtc-widget .zone-title.green-zone {
    color: #27ae60;
}

/* Checkbox Items */
.actav-vtc-widget .checkbox-questions-wrapper {
    margin: 20px 0;
}

.actav-vtc-widget .checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding-left: 50px;
}

.actav-vtc-widget .checkbox-item:hover .checkbox-content {
    transform: translateX(2px);
}

.actav-vtc-widget .checkbox-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 0;
    margin-top: 0;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 20px;
}

.actav-vtc-widget .checkbox-content {
    flex: 1;
 
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px 25px;
    transition: all 0.3s ease;
}

.actav-vtc-widget .checkbox-item:hover .checkbox-content {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.actav-vtc-widget .checkbox-content label {
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    display: block;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 1.4;
}

.actav-vtc-widget .checkbox-description {
    color: #999;
    font-size: 1em;
    line-height: 1.5;
    margin: 4px 0 0 0;
}

/* Submit Button */
.actav-vtc-widget .form-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    text-align: center;
}

.actav-vtc-widget .submit-quiz-btn {
    border: 1px solid #000;
    display: flex;
    padding: 32px 40px;
    background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
    color: #1f2937;
    font-weight: 700;
    font-size: 1.3em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
    align-items: center;
}

.actav-vtc-widget .submit-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
    background: linear-gradient(135deg, #bef264 0%, #a3e635 100%);
}

.actav-vtc-widget .submit-quiz-btn:active {
    transform: translateY(0);
}

/* Alerts */
.actav-vtc-widget .no-selection-alert {
    display: none;
    padding: 30px;
    text-align: center;
    background: #fff3cd;
    border-radius: 15px;
    border: 3px solid #ffc107;
    margin: 20px 0;
}

.actav-vtc-widget .no-selection-alert.show {
    display: block;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.actav-vtc-widget .no-selection-alert h3 {
    color: #856404;
    font-size: 1.5em;
    margin: 0 0 15px 0;
}

.actav-vtc-widget .no-selection-alert p {
    color: #856404;
    margin: 0 0 20px 0;
}

.actav-vtc-widget .support-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.actav-vtc-widget .support-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.actav-vtc-widget .recommendation-alert {
    display: none;
    padding: 20px 30px;
    border-radius: 16px;
    margin: 30px 0 20px 0;
    animation: slideIn 0.5s ease;
    text-align: center;
    background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.25);
}

.actav-vtc-widget .recommendation-alert p {
    margin: 0;
    color: #1f2937;
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.actav-vtc-widget .recommendation-alert.show {
    display: block;
}

/* Section Divider with Blue Lines */
.actav-vtc-widget .section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px 0;
    gap: 15px;
}

.actav-vtc-widget .section-divider::before,
.actav-vtc-widget .section-divider::after {
    content: '';
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    max-width: 150px;
}

.actav-vtc-widget .section-divider-text {
    font-size: 1.8em;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

/* Info Cards */
.actav-vtc-widget .info-cards {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.actav-vtc-widget .info-cards.show {
    display: grid;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.actav-vtc-widget .info-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
}

.actav-vtc-widget .info-card h3 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

.actav-vtc-widget .info-card p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.actav-vtc-widget .info-card .status-reco {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-color);
}

/* Info Section Items - Flat Display (No Accordion) */
.actav-vtc-widget .info-section-item {
    background: transparent;
    margin-bottom: 35px;
    padding: 0;
}

.actav-vtc-widget .info-item-title {
    padding: 0;
    background: transparent;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 1.8em;
    margin: 0 0 20px 0;
}

.actav-vtc-widget .info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.actav-vtc-widget .info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.actav-vtc-widget .info-item-content {
    padding: 0 0 0 55px;
    background: transparent;
}

.actav-vtc-widget .info-item-content ul,
.actav-vtc-widget .info-item-content ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.actav-vtc-widget .info-item-content li {
    margin-bottom: 14px;
    line-height: 1.6;
    color: #374151;
    position: relative;
    padding-left: 35px;
    font-size: 1.1em;
}

.actav-vtc-widget .info-item-content ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-image: url('../icons/check.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.actav-vtc-widget .info-item-content ol {
    counter-reset: item;
}

.actav-vtc-widget .info-item-content ol li {
    counter-increment: item;
}

.actav-vtc-widget .info-item-content ol li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-image: url('../icons/number background.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85em;
    color: white;
    line-height: 24px;
    text-align: center;
}

.actav-vtc-widget .info-item-content p {
    margin: 12px 0;
    line-height: 1.6;
    color: #374151;
    font-size: 1.1em;
}

.actav-vtc-widget .info-item-content li li {
    padding-left: 25px;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.actav-vtc-widget .info-item-content li li:before {
    content: "✓";
    position: absolute;
    left: 0;
    width: auto;
    height: auto;
    background: none;
    color: #6b7280;
    font-weight: 600;
}

/* Cost Table */
.actav-vtc-widget .cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: transparent;
}

.actav-vtc-widget .cost-table thead {
    display: none;
}

.actav-vtc-widget .cost-table tbody {
    display: block;
}

.actav-vtc-widget .cost-table tbody tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border: none;
}

.actav-vtc-widget .cost-table td {
    padding: 0;
    border: none;
}

.actav-vtc-widget .cost-table td:first-child {
    color: #374151;
    font-weight: 400;
    font-size: 1.1em;
    flex: 1;
}

.actav-vtc-widget .cost-table td:last-child {
    font-weight: 600;
    color: #111827;
    text-align: right;
    font-size: 1.1em;
    flex-shrink: 0;
    margin-left: 20px;
}

/* Final Section */
.actav-vtc-widget .final-section {
    background: transparent;
    padding: 0;
}

.actav-vtc-widget .checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.actav-vtc-widget .plan-action {
    margin-top: 30px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.actav-vtc-widget .plan-action .info-item-content {
    padding: 0;
    padding-top: 15px;
}

.actav-vtc-widget .plan-action .info-item-title {
    margin-bottom: 0;
}

/* Email Form */
.actav-vtc-widget .email-form-wrapper {
    margin-top: 30px;
    padding-top: 20px;
}

.actav-vtc-widget .vtc-email-form {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.actav-vtc-widget .email-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1em;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    transition: all 0.3s ease;
}

.actav-vtc-widget .email-input:focus {
    outline: none;
    border-color: #a3e635;
    box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.1);
}

.actav-vtc-widget .email-input::placeholder {
    color: #9ca3af;
}

.actav-vtc-widget .email-submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
    color: #1f2937;
    font-weight: 700;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(132, 204, 22, 0.3);
    white-space: nowrap;
}

.actav-vtc-widget .email-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.4);
    background: linear-gradient(135deg, #bef264 0%, #a3e635 100%);
}

.actav-vtc-widget .email-submit-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .actav-vtc-widget .vtc-header h1 {
        font-size: 1.8em;
    }

    .actav-vtc-widget .vtc-content {
        padding: 20px 15px;
    }

    .actav-vtc-widget .vtc-section {
        padding: 20px;
    }

    .actav-vtc-widget .info-cards {
        grid-template-columns: 1fr;
    }

    .actav-vtc-widget .info-item-title {
        font-size: 1.1em;
    }

    .actav-vtc-widget .info-icon {
        width: 32px;
        height: 32px;
    }

    .actav-vtc-widget .info-item-content {
        padding: 0 0 0 47px;
    }

    .actav-vtc-widget .info-item-content li {
        font-size: 0.9em;
        padding-left: 30px;
    }

    .actav-vtc-widget .cost-table td:first-child,
    .actav-vtc-widget .cost-table td:last-child {
        font-size: 0.9em;
    }

    .actav-vtc-widget .plan-action {
        padding: 20px;
    }

    .actav-vtc-widget .vtc-email-form {
        flex-direction: column;
        gap: 15px;
    }

    .actav-vtc-widget .email-input,
    .actav-vtc-widget .email-submit-btn {
        width: 100%;
    }
}

/* Animation for sections appearing */
.actav-vtc-widget .vtc-section {
    animation: slideInUp 0.6s ease;
}

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