/*#login-body {
    background: linear-gradient(135deg, #003399, #3366cc);
   
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden; 
}*/
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 30px;
}
 #login-body {
    position: relative;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden; /* prevent scroll */
    background: linear-gradient(135deg, #003399, #3366cc);
}

#login-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/banner.png') center/cover no-repeat;
    z-index: 0; 
}

/* Make sure the content is above the background */
#login-body > * {
    position: relative;
    z-index: 1;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* align at top instead of center */
    height: 100vh;
    padding: 0 20px;
}


.login-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 30px;
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 250px;
   
}

/* remove the hover transform that causes shake */
.login-card:hover {
    transform: none;
}

.login-left, .login-right {
    flex: 1 1 50%;
    text-align: center;
    padding: 20px;
}
.login-left {
    border-right: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo {
    max-width: 300px; /* enlarged logo */
    width: 100%;
    height: auto;
}

.login-right h3 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.form-label {
    font-weight: 600;
    color: #333;
}
.form-control {
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
}

.btn-login {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease-in-out;
    width: 100%;
}
.btn-login:hover {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    transform: scale(1.05);
}
.otp-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        height: 100vh;
        padding: 0 20px;
    }

    .otp-card {
        margin-top: 60px; /* shift card slightly from top */
        background: white;
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        padding: 40px 30px;
        width: 100%;
        max-width: 500px;
        text-align: center;
    }

    .otp-logo {
        max-width: 200px;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .otp-card h3 {
        font-weight: bold;
        margin-bottom: 25px;
        color: #333;
    }

    .otp-form .form-control {
        border-radius: 10px;
        padding: 15px;
        font-size: 18px;
        text-align: center;
        letter-spacing: 5px;
    }

    .otp-form .btn-verify {
        background: linear-gradient(135deg, #4facfe, #00f2fe);;
        border: none;
        border-radius: 10px;
        padding: 12px 25px;
        font-size: 16px;
        font-weight: bold;
        color: white;
        width: 100%;
        margin-top: 20px;
        transition: all 0.3s ease-in-out;
    }

    .otp-form .btn-verify:hover {
        background: linear-gradient(135deg, #4facfe, #00f2fe);;
        transform: scale(1.05);
    }

    .resend-link {
        display: block;
        margin-top: 15px;
        color: #CE0000;
        font-weight: 600;
        text-decoration: none;
    }

    .resend-link:hover {
        text-decoration: underline;
    }
   

    /* Tabs */
    .menu
    {
       border-bottom: 2px solid #ccc;
       margin: 20px 0;
       background-color: #004e8f;
       color: white;
    }
    .tabs {
      display: flex;
      justify-content: flex-start;
      
    }

    .tab {
      padding: 10px 20px;
      cursor: pointer;
      font-weight: bold;
      transition: 0.3s;
    }
    .tab a {
       color: #ffffff;
         text-decoration: none;
    }

    .tab.active {
      background: #e31e24; /* HPCL orange/red */
      color: #ffffff;
    }
    .tab.active a{
         color: #ffffff;
         text-decoration: none;
    }

    .tab-content {
      padding: 20px;
      background: #fff;
      margin: 0 50px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .tab-content.active {
      display: block;
    }
  /* reviews-ranking tab nav */
    .reviews-ranking-nav {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 1rem;
    list-style: none;
    padding-left: 0;
    }

    .reviews-ranking-item {
    margin-right: 8px;
    }

    .reviews-ranking-link {
    background: none;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    border-bottom: 3px solid transparent;
    }

    .reviews-ranking-link.active {
    color: #0d6efd; /* Bootstrap primary blue */
    border-bottom: 3px solid #0d6efd;
    font-weight: 600;
    }
    .postive_score
    {
        color:#00C158!important;
    }
    .negative_score
    {
        color:#BF1A1A!important;
    }
    .neutral_score
    {
        color:#0f0b71!important;
    }
    .btn-custom-csv {
    background-color: #004e8f !important;
    color: #fff !important;
    padding: 4px !important;
    margin: 0px 23px 10px !important;
    }
   .live-loc-table thead th {
    padding: 12px 0px;
    font-size: 16px;
    color: #0070FC;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-bottom: 1px solid #e0e0e0;
    }
    span.billed {
    color: #006400;
    }
    
    span.not_billed {
        color: #BF1A1A;
    }
    .calculate_btn
    {
        background-color: #e31e24!important;
    }
    .card-header
    {
        background-color:#004e8f!important;
        color:#fff!important;
    }
    .lbl_text{
        color:#b20100!important;
        font-weight: bold;
    }
        .penalty-section {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease;
        opacity: 0;
    }

    .penalty-section.active {
        max-height: 500px;
        opacity: 1;
    }
    .penalty-grid {
    display: flex;         
    gap: 20px;             
    flex-wrap: wrap;         
    justify-content: start;  
    }

    .penalty-info-box {
        flex: 1 1 200px;        
        background-color: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .penalty-info-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .penalty-info-label {
        font-weight: 500;
        margin: 0 0 5px 0;
        font-size: 0.9rem;
        color: #333;
    }

    .penalty-info-stats {
        display: flex;
        align-items: baseline;
        gap: 5px;
    }

    .penalty-info-value {
        font-weight: 700;
        font-size: 1.2rem;
        margin: 0;
    }

    .penalty-info-count {
        font-size: 0.85rem;
        color: #666;
    }

    .penalty-info-count.success {
        color: green;
    }

    .penalty-info-count.error {
        color: red;
    }

    .penalty-info-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #e0e0e0;
    }

    .bg-green {
        background-color: #d4edda !important;
    }

    .bg-red {
        background-color: #f8d7da !important;
    }

    .penalty-info-description {
        margin-top: 10px;
        font-size: 0.85rem;
        color: #555;
        text-align: center;
    }
    .penalty-summary-box {
        background-color: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .penalty-summary-box .penalty-info-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .penalty-summary-box .penalty-info-label {
        font-weight: 500;
        margin: 0 0 5px 0;
        font-size: 0.9rem;
        color: #333;
    }

    .penalty-summary-box .penalty-info-stats {
        display: flex;
        align-items: baseline;
        gap: 5px;
    }

    .penalty-summary-box .penalty-info-value {
        font-weight: 700;
        font-size: 1.2rem;
    }

    .penalty-summary-box .penalty-info-value.error {
        color: red;
    }

    .penalty-summary-box .penalty-info-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #f8d7da;
    }

    .penalty-summary-box .penalty-details {
        font-size: 0.85rem;
        color: #555;
    }

    .penalty-summary-box .penalty-detail-row {
        display: flex;
        justify-content: space-between;
        margin-top: 3px;
    }
    .btn-outline-white {
    color: #fff;             /* White text */
    border-color: #fff;      /* White border */
    }
    .fa-chevron-down
    {
        color: #fff!important;  
    }
    .fa-xmark
    {
        color: #fff!important;  
    }

    .section-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #e6e9ef;
    }
    /* Modal container */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

/* Header */
.modal-header {
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    color: #fff;
    border-bottom: none;
    padding: 16px 20px;
}

.modal-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
}

.btn-close {
    filter: invert(1);
}

/* Body */
.modal-body {
    padding: 20px 24px;
    background-color: #f9fbfd;
}

/* Section titles */
.modal-body h6 {
    margin-top: 20px;
    font-weight: 600;
    color: #0d6efd;
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}

/* Paragraph styling */
.modal-body p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.modal-body p strong {
    color: #555;
    min-width: 180px;
    display: inline-block;
}

/* Divider */
.modal-body hr {
    margin: 16px 0;
    border-top: 1px solid #e3e6ea;
}

/* Pre blocks */
pre {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    overflow-x: auto;
    border: 1px solid #e0e0e0;
}

/* Error message */
    .modal-body .text-danger {
        background: #ffe5e5;
        border: 1px solid #ffb3b3;
        color: #d63333 !important;
    }

/* Responsive tweak */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
    }

    .modal-body p strong {
        display: block;
        margin-bottom: 2px;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        text-align: center;
        max-height: 90vh;
        overflow-y: auto;
        margin-top:100px!important;
    }
    .login-left {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .login-logo {
        max-width: 220px; /* smaller logo for mobile */
    }
    .otp-card {
        margin-top: 40px;
        padding: 30px 20px;
    }
    .otp-logo {
        max-width: 150px;
    }
}