/* Website Speed Test - Modern UI */
.wst-wrap,.wst-container{max-width:900px;margin:20px auto;padding:25px;background:#fff;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,0.1);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.wst-wrap h1{margin:0 0 30px;font-size:28px;display:flex;align-items:center;gap:12px;color:#1a1a1a}
.wst-form-card{padding:40px;border:2px dashed #e1e5e9;border-radius:20px;text-align:center;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);transition:all .3s ease}
.wst-form-card:hover{border-color:#3b82f6;box-shadow:0 4px 20px rgba(59,130,246,0.15)}
#wst-url{width:65%;padding:18px 20px;font-size:16px;border:2px solid #e2e8f0;border-radius:12px;margin-right:15px;box-sizing:border-box;transition:all .2s;outline:none}
#wst-url:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.1)}
#wst-test-btn{font-size:16px !important;padding:18px 35px !important;height:auto !important;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%) !important;border:none !important;border-radius:12px !important;box-shadow:0 4px 15px rgba(59,130,246,0.3) !important;transition:all .2s !important}
#wst-test-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(59,130,246,0.4) !important}
#wst-test-btn:disabled{background:#9ca3af !important;box-shadow:none !important;transform:none}
.wst-progress{margin:40px 0;display:flex;flex-direction:column;align-items:center}
.wst-progress-bar{width:100%;max-width:500px;height:10px;background:#e2e8f0;border-radius:10px;overflow:hidden;margin-bottom:15px;box-shadow:inset 0 2px 4px rgba(0,0,0,0.05)}
.wst-progress-fill{height:100%;background:linear-gradient(90deg,#10b981,#059669);border-radius:10px;transition:width .5s cubic-bezier(0.4,0,0.2,1);box-shadow:0 0 20px rgba(16,185,129,0.4)}
.wst-progress-text{font-size:16px;font-weight:500;color:#64748b}
.wst-results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px;margin:40px 0}
.wst-result-card{padding:30px;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,0.08);transition:transform .2s,box-shadow .2s;border:1px solid #f1f5f9}
.wst-result-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,0.15)}
.wst-score{font-size:5rem;font-weight:800;margin:20px 0;line-height:1;display:flex;align-items:center;justify-content:center}
.wst-grade-a .wst-score{color:#10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}
.wst-grade-b .wst-score{color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe)}
.wst-grade-c .wst-score{color:#f59e0b;background:linear-gradient(135deg,#fef3c7,#fde68a)}
.wst-grade-d .wst-score{color:#f97316;background:linear-gradient(135deg,#fed7aa,#fdba74)}
.wst-grade-f .wst-score{color:#ef4444;background:linear-gradient(135deg,#fee2e2,#fecaca)}
.wst-metric{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #f1f5f9;font-size:15px}
.wst-metric:last-child{border-bottom:none}
.wst-metric span{color:#64748b}
.wst-metric strong{color:#1e293b;font-weight:600}
.wst-recommendations h4{margin:0 0 20px 0;color:#1e293b;font-size:18px}
.wst-rec-item{padding:15px;margin-bottom:12px;background:#f8fafc;border-left:5px solid #10b981;border-radius:8px;font-size:14px;transition:all .2s}
.wst-rec-item:hover{background:#ecfdf5;transform:translateX(5px)}
@media(max-width:768px){
    .wst-wrap,.wst-container{margin:10px;padding:20px}
    #wst-url{width:100%;margin-bottom:15px}
    .wst-url-wrapper{flex-direction:column}
    .wst-results-grid{grid-template-columns:1fr;gap:20px}
    .wst-score{font-size:3.5rem}
}
