/* Schwerll Lead Engine & Volume Calculator Styles */

.schwerll-calc-container {
    background: #0b192c;
    color: #f8fafc;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(11, 25, 44, 0.25);
    margin: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.schwerll-calc-container .calc-header h3 {
    color: #ffffff;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schwerll-calc-container .calc-header p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 28px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

@media (max-width: 860px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

.calc-group {
    margin-bottom: 18px;
}

.calc-group label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.calc-group small {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

.calc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.calc-input:focus {
    border-color: #f59e0b;
}

.calc-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.calc-btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 10px;
}

.calc-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.results-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 24px;
    height: calc(100% - 48px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-card h4 {
    margin-top: 0;
    color: #f8fafc;
    font-size: 18px;
    border-bottom: 1px solid #334155;
    padding-bottom: 12px;
}

.res-metric-big {
    text-align: center;
    padding: 16px 0;
    background: #0f172a;
    border-radius: 10px;
    margin-bottom: 18px;
    border: 1px solid #27374d;
}

.res-num {
    font-size: 48px;
    font-weight: 800;
    color: #f59e0b;
}

.res-unit {
    font-size: 20px;
    color: #cbd5e1;
}

.res-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.res-details-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 20px;
}

.res-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #334155;
}

.res-detail-item span {
    color: #94a3b8;
}

.res-detail-item strong {
    color: #f8fafc;
}

.btn-quote-now {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-quote-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4);
}

/* Modal Styles */
.schwerll-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schwerll-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.schwerll-modal-dialog {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 580px;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 2;
    animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.schwerll-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
}

.schwerll-modal-close:hover {
    color: #0f172a;
}

.schwerll-modal-header h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    color: #0f172a;
}

.schwerll-modal-header p {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: #64748b;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
}

.form-ctrl {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
}

.form-ctrl:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit-rfq {
    width: 100%;
    padding: 13px;
    background: #0b192c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit-rfq:hover {
    background: #1e293b;
}

/* Floating contact widget */
.schwerll-floating-bar {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 30px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.float-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.float-whatsapp {
    background: #25d366;
}

.float-email {
    background: #0284c7;
}

.float-rfq {
    background: #f59e0b;
}

.float-calc {
    background: #0b192c;
}

@media (max-width: 600px) {
    .float-text {
        display: none;
    }
    .float-btn {
        padding: 10px;
        border-radius: 50%;
    }
}
