* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.wlc-plugin-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.wlc-container {
    background: white;
}

.wlc-content {
    padding: 40px 30px;
}

.wlc-section {
    margin-bottom: 35px;
}

.wlc-section-title {
    font-size: 1.4em;
    color: #092669;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wlc-icon {
    font-size: 1.3em;
}

.wlc-input-group {
    margin-bottom: 25px;
}

.wlc-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95em;
}

.wlc-input-group input[type="number"],
.wlc-input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    background: white;
}

.wlc-input-group input[type="number"]:focus,
.wlc-input-group select:focus {
    outline: none;
    border-color: #092669;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wlc-slider-container {
    position: relative;
    margin-top: 10px;
}

.wlc-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

.wlc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #092669;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.wlc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #092669;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.wlc-slider-value {
    display: inline-block;
    margin-left: 10px;
    font-weight: 700;
    color: #092669;
    font-size: 1.1em;
}

.wlc-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wlc-calculate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(180deg, #507e2a 0%, #6eaa3d 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.wlc-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.wlc-calculate-btn:active {
    transform: translateY(0);
}

.wlc-results {
    display: none;
    margin-top: 40px;
    padding: 30px;
    border-radius: 12px;
    animation: wlc-slideIn 0.5s ease;
    border: 2px solid #03173d;
}

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

.wlc-results.show {
    display: block;
}

.wlc-results.wlc-safe {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.wlc-results.wlc-caution {
    background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
    color: #333;
}

.wlc-results.wlc-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: white;
}

.wlc-results.wlc-critical {
    background: linear-gradient(135deg, #8e0e00 0%, #1f1c18 100%);
    color: white;
}

.wlc-status-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 15px;
}

.wlc-status-title {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.wlc-status-message {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.wlc-detail-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.wlc-results.wlc-caution .wlc-detail-box {
    background: rgba(0, 0, 0, 0.1);
}

.wlc-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.wlc-results.wlc-caution .wlc-detail-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wlc-detail-row:last-child {
    border-bottom: none;
}

.wlc-detail-label {
    font-weight: 600;
}

.wlc-detail-value {
    font-weight: 700;
}

.wlc-recommendations {
    margin-top: 25px;
}

.wlc-recommendations h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.wlc-recommendation-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wlc-results.wlc-caution .wlc-recommendation-item {
    background: rgba(0, 0, 0, 0.1);
}

.wlc-rec-bullet {
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.wlc-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.wlc-action-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.wlc-results.wlc-caution .wlc-action-btn {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.3);
}

.wlc-action-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.wlc-results.wlc-caution .wlc-action-btn:hover {
    background: rgba(0, 0, 0, 0.25);
}

.wlc-info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #092669;
    margin-top: 30px;
}

.wlc-info-box h3 {
    color: #1e3c72;
    margin-bottom: 10px;
}

.wlc-info-box p {
    color: #666;
    line-height: 1.6;
}

.wlc-help-text {
    font-size: 0.85em;
    color: #888;
    margin-top: 5px;
}

.wlc-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-top: 30px;
    font-size: 0.9em;
    color: #856404;
}

.wlc-disclaimer strong {
    display: block;
    margin-bottom: 8px;
}

.wlc-preset-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 35px;
}

.wlc-preset-header {
    text-align: center;
}

.wlc-preset-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.wlc-preset-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.wlc-preset-btn:hover {
    border-color: #092669;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.wlc-preset-btn:active {
    transform: translateY(-1px);
}

.wlc-preset-icon {
    font-size: 2.5em;
    margin-bottom: 5px;
}

.wlc-preset-name {
    font-weight: 700;
    font-size: 1.1em;
    color: #1e3c72;
}

.wlc-preset-desc {
    font-size: 0.85em;
    color: #666;
    line-height: 1.3;
}

.wlc-preset-notification {
    display: none;
    margin-top: 20px;
    padding: 15px 20px;
    background: #38ef7d;
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    animation: wlc-slideIn 0.5s ease;
}

.wlc-preset-notification.show {
    display: block;
}

.doc-header {
    display: none !important
}

@media (max-width: 1024px) {
    .wlc-preset-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wlc-content {
        padding: 30px 20px;
    }
    
    .wlc-two-column {
        grid-template-columns: 1fr;
    }
    
    .wlc-action-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .wlc-preset-buttons {
        grid-template-columns: 1fr;
    }
    
    .wlc-preset-section {
        padding: 20px 15px;
    }
}

/* Print styles - show only results container */
@media print {
    body {
        background: white;
        margin: 0;
        padding: 0;
    }
    
    body.wlc-plugin-page {
        background: white;
        padding: 0;
    }

    .no-print {
        display: none !important;
    }

    .elementor-location-header, .hero-delay-bg, .wlc-preset-section, .wlc-calculate-btn, .wlc-section, #tidio-chat, .elementor-hidden-mobile, .elementor-element-cd14678, footer {
        display: none !important;
    }

    .doc-header {
        display: block !important
    }

    .elementor-element-33000e5 .e-con-inner {
        margin: 0px;
        padding: 0px;
        width: 100%;
    }
    
    .wlc-container {
        background: white;
        box-shadow: none;
    }
    
    .wlc-content {
        padding: 20px;
    }
    
    /* Hide all sections except results */
    .wlc-preset-section,
    .wlc-section,
    .wlc-calculate-btn,
    .wlc-info-box,
    .wlc-disclaimer {
        display: none !important;
    }
    
    /* Show results */
    #wlc-results {
        display: block !important;
        margin: 0;
        padding: 40px;
        /* page-break-inside: avoid; */
        box-shadow: none;
        border: none;
        background: white;
        color: #000000;
    }
    
    /* Adjust results styling for print */
    .wlc-results.safe,
    .wlc-results.caution,
    .wlc-results.danger,
    .wlc-results.critical {
        color: #000;
        background: white;
        border: 1px solid #ccc;
    }
    
    /* Hide action buttons in print */
    .wlc-action-buttons {
        display: none !important;
    }
    
    /* Ensure results content is visible */
    .wlc-status-icon,
    .wlc-status-title,
    .wlc-status-message,
    .wlc-detail-box,
    .wlc-recommendation-item {
        /* page-break-inside: avoid; */
    }
}
