/* Box Sizing & Tool Wrapper */
.fc-gl-wrapper,
.fc-gl-wrapper *,
.fc-gl-wrapper *::before,
.fc-gl-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.fc-gl-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 35px auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(10, 61, 98, 0.06);
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

/* Header Section */
.fc-gl-header {
    text-align: center;
    margin-bottom: 24px;
}

.fc-gl-title {
    color: #0a3d62;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.3;
}

.fc-gl-subtitle {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
}

/* Form Layout */
.fc-gl-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fc-gl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.fc-gl-field {
    display: flex;
    flex-direction: column;
}

.fc-gl-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.fc-gl-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.fc-gl-badge-val {
    font-size: 12.5px;
    font-weight: 700;
    color: #0a3d62;
    background: #eaf2ff;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Input Wrappers */
.fc-gl-input-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fc-gl-input-wrap:focus-within {
    border-color: #0a3d62;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.15);
}

.fc-gl-prefix,
.fc-gl-suffix {
    background: #e2e8f0;
    padding: 10px 12px;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    user-select: none;
    white-space: nowrap;
}

.fc-gl-input {
   width: 100%;
  padding: 2px 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease-in-out;
}


.fc-gl-select-wrap {
    width: 100%;
}

.fc-gl-select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-gl-select:focus {
    border-color: #0a3d62;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.15);
}

/* Primary Action Button */
.fc-btn-primary {
    width: 100%;
    margin-top: 10px;
    background: #0a3d62;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(10, 61, 98, 0.2);
}

.fc-btn-primary:hover {
    background: #072c47;
}

.fc-btn-primary:active {
    transform: scale(0.99);
}

/* Results Section */
.fc-gl-results {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px dashed #e2e8f0;
    animation: fcFadeIn 0.3s ease-in-out;
}

/* Hero Badge */
.fc-badge {
    padding: 8px 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    display: block;
    width: 100%;
}

.fc-badge-good {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* 4 Metrics Card Grid (Unified Solid Blue Style) */
.fc-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.fc-res-card {
    background-color: #0a3d62;
    color: #ffffff;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fc-card-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: 700;
}

.fc-card-single {
    padding-top: 2px;
}

.fc-single-val {
    font-size: 22px;
    font-weight: 800;
    color: #34d399; /* साफ़ चमकता हुआ हल्का हरा */
}

.fc-card-sub {
    font-size: 11.5px;
    opacity: 0.8;
    margin-top: 6px;
}

/* Plan Comparison Card */
.fc-gl-plan-card {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
}

.fc-gl-plan-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fc-gl-plan-divider {
    width: 1px;
    background: #cbd5e1;
}

.fc-gl-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 6px;
}

.fc-gl-plan-tag {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.fc-gl-plan-price {
    font-size: 18px;
    color: #0a3d62;
    font-weight: 800;
}

.fc-gl-plan-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* Advisory Box */
.fc-advisory-box {
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.fc-lt-adv-good {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #16a34a;
    color: #0f172a;
}

.fc-lt-alert-title {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #15803d;
}

.fc-gl-adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.fc-gl-adv-point {
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #dcfce7;
    font-size: 12px;
    color: #334155;
    line-height: 1.45;
}

.fc-gl-adv-point strong {
    display: block;
    color: #0f172a;
    margin-bottom: 3px;
    font-size: 12.5px;
}

/* Disclaimer */
.fc-gl-disclaimer {
    font-size: 12px;
    color: #64748b;
    text-align: justify;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-top: 20px;
}

@keyframes fcFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 650px) {
    .fc-gl-grid,
    .fc-results-grid,
    .fc-gl-adv-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .fc-gl-plan-card {
        flex-direction: column;
        gap: 12px;
    }
    .fc-gl-plan-divider {
        display: none;
    }
    .fc-gl-wrapper {
        padding: 12px;
    }
    .fc-gl-title {
        font-size: 22px;
    }
}
