﻿
.container {
    max-width: 100% !important; /* allow full width */
}
.calculate-emi-btn {
    border-radius: 8px;
    background-color: #f96209;
    font-size: 16px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    border: none;
    float: none;
    margin-top: 1%;
    padding: 10px 20px;
    width: fit-content;
}
.float-container {
    position: fixed;
    top: 30%;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    width: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    z-index: 99999999;
}
.float-container a {
    z-index: 99;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 97px;
    height: 61px;
    margin-right: 0px;
    margin-bottom: 10px;
    padding: 10px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: white;
    border-color: #46b8da;
    border-radius: 5px 0 0 5px;
    background-color: #eb680b;
    -webkit-box-shadow: 0 2px 4px #7d7d7d;
    box-shadow: 0 2px 4px #7d7d7d;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-family: sans-serif;
}
.icon.one:before {
    content: "";
}
.float-container .icon:before {
    font-family: "Font Awesome 5 Free";
    margin-right: 1px;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
section.col-lg-2.container-emi {
    width: 500px;
    /* float: right; */
}
.container-emi {
    display: flex;
    justify-content: center; /* center horizontally */
}
.emi-calculator {
    background-color: #ececec;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    text-align: center;
    margin: 0 auto; /* extra safeguard */
}

    .emi-calculator h1 {
        font-size: 28px;
        font-weight: 600;
        color: #333;
    }

.form-label {
    font-weight: 500;
    color: #444;
}

.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 10px 12px;
    font-size: 16px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 5px rgba(13,110,253,0.4);
        outline: none;
    }

.btn-primary {
    background-color: #0d6efd;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}
.emi-form .form-group {
    flex: 1; /* fields share available width */
    min-width: 180px; /* prevents shrinking too much */
}

.emi-form label {
    white-space: nowrap; /* prevents breaking label text */
    min-width: 90px; /* ensures alignment */
}

.emi-form input,
.emi-form select {
    height: 40px; /* uniform height */
}

.emi-form .btn {
    height: 40px;
}
.emi-form .form-control,
.emi-form .form-select {
    height: 42px;
}

.emi-form label {
    font-weight: 600;
    white-space: nowrap;
}

.emi-form select {
    min-width: 100px;
}
.margin-b-20{
    margin-bottom:20px;
}
.emi-result {
    margin-top: 20px;
    font-size: 20px;
    color: #1e1e1e;}