/* Inglestone Finance Calculator - Front-end styles
   Version: 1.4.6
   Main calculator CSS moved out of the plugin PHP file.
*/

.ifc-wrap {
    --ifc-border: rgba(15, 39, 71, 0.12);
    --ifc-shadow: 0 20px 40px rgba(15, 39, 71, 0.08);
    color: var(--ifc-text);
    margin: 0px 0;
    font-size: 16px;
}

.ifc-wrap * { box-sizing: border-box; }

.ifc-wrap .ifc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.ifc-wrap .ifc-panel {
    background: var(--ifc-bg);
    border: 1px solid var(--ifc-border);
    border-radius: 18px;
    box-shadow: var(--ifc-shadow);
    padding: 28px;
}

.ifc-wrap .ifc-title {
    margin: 0 0 20px;
    color: var(--ifc-primary);
    font-size: 18px;
    line-height: 1.2;
}

.ifc-wrap .ifc-field { margin-bottom: 18px; }
.ifc-wrap label {font-size:14px!important}
.ifc-wrap label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--ifc-primary);
}

.ifc-wrap .ifc-input {
    width: 100%;
    border: 1px solid rgba(15,39,71,0.2);
    border-radius: 12px;
    padding: 14px 15px;
    min-height: 52px;
    background: #fff;
    color: var(--ifc-text);
}

.ifc-wrap input[type='range'].ifc-input {
    padding: 0;
    min-height: auto;
    border: 0;
    box-shadow: none;
}

.ifc-wrap .ifc-inline-value,
.ifc-wrap .ifc-rate-note {
    margin-top: 8px;
    color: var(--ifc-text);
    font-size: 12px;
}

.ifc-wrap .ifc-result-card {
    background: var(--ifc-primary);
    color: #fff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 18px;
}

.ifc-wrap .ifc-result-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.ifc-wrap .ifc-result-value {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
}

.ifc-wrap .ifc-result-list {
    border: 1px solid var(--ifc-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.ifc-result-row {font-size:14px!important}
.ifc-wrap .ifc-result-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(15,39,71,0.08);
}

.ifc-wrap .ifc-result-row:last-child { border-bottom: 0; }
.ifc-wrap .ifc-result-row span { color: var(--ifc-text); }
.ifc-wrap .ifc-result-row strong { color: var(--ifc-primary); }

.ifc-wrap .ifc-button {
	margin-top:15px!important;
    display:inline-block;
    padding:10px 40px;
    border-radius:999px;
    background:#045360;
    color:#ffffff !important;
    text-decoration:none;
    font-size:12px;
    font-weight:600;
    transition:0.2s ease;
}
.ifc-wrap .ifc-button:hover {
	opacity:0.9;
    transform:translateY(-1px);
}





.ifc-wrap .ifc-disclaimer {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(31,41,55,0.85);
}

@media (max-width: 900px) {
    .ifc-wrap .ifc-grid { grid-template-columns: 1fr; }
    .ifc-wrap .ifc-result-value { font-size: 32px; }
}
