/* Status Indicators */
.kyc-status {
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kyc-status-invalid {
    background: #F44336;
}

.kyc-status-valid {
    background: #4CAF50;
}

.kyc-status-pending {
    background: #FFC107;
    color: #212121;
}

/* Number Formatting */
@decimal-format format {
    grouping-separator: ",";
    decimal-separator: "."
}

.format {
    number-format: "###,##0.00", "format";
}

/* Autocomplete */
#autoComplete_list_1 {
    padding: 0;
    margin: 4px 0 0 0;
    max-height: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow-y: auto;
}

/* Offline Mode */
.offline-card {
    background: linear-gradient(135deg, #673AB7 0%, #9C27B0 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(103, 58, 183, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.offline-button {
    color: white;
    background: #E91E63;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.offline-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.offline-holder {
    width: 100%;
    height: 100%;
    margin: auto;
    display: flex;
    background: linear-gradient(135deg, #673AB7 0%, #9C27B0 100%);
}

.offline-device {
    margin: auto;
    display: flex;
    padding: 20px;
}

.offline-sub {
    color: #FF80AB;
    font-size: 16px;
    font-weight: 400;
    margin-top: 8px;
}

.offline-header {
    padding: 0;
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

/* Tab Navigation */
#nav-tabContent {
    height: auto;
    min-height: 135px;
    padding: 16px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#nav-tab {
    width: auto;
    margin: 0 auto;
    display: inline-flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 4px;
}

.nav-pills .nav-link {
    color: #757575 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link,
#nav-gram-tab:active,
#nav-inr-tab:active {
    color: #212121 !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFC200 100%) !important;
    box-shadow: 0 2px 8px rgba(255, 193, 0, 0.3);
}

button#nav-inr-tab,
button#nav-gram-tab {
    padding: 8px 16px;
    width: auto !important;
    min-width: 100px;
}

/* Information Holders */
.gst-holder,
.refresh-rate {
    font-size: 12px;
    color: #757575;
    margin: 8px 0 8px 16px;
    display: inline-block;
    font-weight: 400;
}

.refresh-rate {
    width: auto;
    float: none;
    margin-top: 8px;
}

/* Conversion Box */
.convert-box {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.convert-input {
    border: none;
    font-weight: 600;
    font-size: 18px;
    background: transparent;
    color: #424242;
    padding: 8px 0;
    width: 100%;
}

.convert-input:focus {
    outline: none;
}

.button-mmtc-order {
    background: linear-gradient(135deg, #FFD700 0%, #FFC200 100%);
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    color: #212121;
    box-shadow: 0 2px 8px rgba(255, 193, 0, 0.3);
    transition: all 0.3s ease;
    margin-top: 24px;
}

.button-mmtc-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 0, 0.4);
}

/* EMI Display */
.emi-left,
.emi-right {
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
}

.emi-left {
    color: #757575;
    text-align: left;
}

.emi-right {
    color: #424242;
    text-align: right;
}

/* Text Transformations */
.uppercase {
    text-transform: uppercase;
}

.pan-uppercase {
    margin: 8px 0;
    font-size: 10px;
    color: #9E9E9E;
    letter-spacing: 0.5px;
}

/* OTPless */
#otpless-floating-button {
    display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .offline-header {
        font-size: 20px;
    }

    .offline-sub {
        font-size: 14px;
    }

    .nav-pills .nav-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .convert-input {
        font-size: 16px;
    }

    .emi-left,
    .emi-right {
        font-size: 12px;
    }
}

/*Dropzone css*/
.dropzone {
    border: 2px dashed #b2b4b6;
    border-radius: 15px;
    background: white;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.dropzone .dz-message {
    margin: 2em 0;
    font-weight: bold;
}

.dropzone .dz-browse {
    color: #0087F7;
    text-decoration: underline;
    cursor: pointer;
}

.dropzone.dz-drag-hover {
    border-color: #00aaff;
    background-color: #f0f8ff;
}

.dz-preview .dz-progress {
    background: #f0f0f0;
}

.dz-preview .dz-upload {
    background: #0087F7;
}

.bold {
    font-weight: bold;
}