﻿body {

}

.remember_me label {
    font-weight: normal;
    padding-left: 8px;
}

.mar_img {
    width: 200px;
    margin-top: -10px !important;
}

.form-control {
    max-width: 450px;
    margin-top: 15px !important;
}

.navbar-default img {
    width: 200px;
    margin-top: -27px;
}

.form-group input[type=text] {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.upglide_logo {
    width: 150px !important;
    margin-top: -15px !important;
}

/* Modern Country Code Dropdown */
.tfa-country-select {
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background-color: #fafbfc;
    background-image: none;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
    margin-top: 0 !important;
    max-width: 100% !important;
}

.tfa-country-select:hover {
    border-color: #c0c0c0;
    background-color: #fff;
}

.tfa-country-select:focus {
    border-color: #62cff4;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    background-color: #fff;
}

.tfa-country-select option {
    padding: 10px 14px;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    background-color: #fff;
}

.tfa-country-select option:checked {
    background: linear-gradient(135deg, #62cff4, #2c67f2);
    color: #fff;
}

/* ============================================
           Modern 2FA Card Styles
           ============================================ */
.tfa-card {
    max-width: 520px;
    margin: 30px auto;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
    background: #fff;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.tfa-card-header {
    background: linear-gradient(135deg, #62cff4 0%, #2c67f2 100%);
    padding: 24px 28px;
    text-align: center;
    position: relative;
}

    .tfa-card-header .tfa-shield-icon {
        font-size: 36px;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 8px;
        display: block;
    }

    .tfa-card-header h3 {
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        margin: 0;
        letter-spacing: 0.3px;
    }

    .tfa-card-header p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 13px;
        margin: 6px 0 0;
    }

.tfa-card-body {
    padding: 28px 28px 24px;
}

    .tfa-card-body .tfa-info-text {
        color: #555;
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

        .tfa-card-body .tfa-info-text .tfa-phone-highlight {
            color: #62cff4;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

    .tfa-card-body .tfa-masked-number {
        color: #999;
        font-weight: 500;
    }

.tfa-card .form-control {
    max-width: 100%;
    margin-top: 0 !important;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafbfc;
    height: auto;
}

    .tfa-card .form-control:focus {
        border-color: #62cff4;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
        background: #fff;
        outline: none;
    }

    .tfa-card .form-control::placeholder {
        color: #aab;
    }

.tfa-input-group {
    margin-bottom: 20px;
}

    .tfa-input-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #444;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.tfa-btn-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.tfa-card .tfa-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #62cff4 0%, #2c67f2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    letter-spacing: 0.3px;
}

    .tfa-card .tfa-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    }

    .tfa-card .tfa-btn-primary:active {
        transform: translateY(0);
    }

.tfa-card .tfa-btn-secondary {
    flex: 0 0 auto;
    background: transparent;
    color: #62cff4;
    border: 2px solid #62cff4;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    letter-spacing: 0.3px;
}

    .tfa-card .tfa-btn-secondary:hover {
        background: #62cff4;
        color: #fff;
    }

.tfa-card .error-panel {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

    .tfa-card .error-panel label,
    .tfa-card .error-panel span {
        color: #e53e3e !important;
        font-size: 14px;
    }

.tfa-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 16px 0;
}

/* OTP Input special styling */
.tfa-otp-input .form-control {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 600;
    color: #333;
}

/* Mobile number row styling inside card */
.tfa-mobile-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

    .tfa-mobile-row > div {
        flex: 1;
    }

@media (max-width: 500px) {
    .tfa-card {
        margin: 20px 10px;
        border-radius: 12px;
    }

    .tfa-card-header {
        padding: 20px;
    }

    .tfa-card-body {
        padding: 20px;
    }

    .tfa-btn-row {
        flex-direction: column;
    }

    .tfa-mobile-row {
        flex-direction: column;
    }

        .tfa-mobile-row > div:first-child {
            flex: 1;
        }
}

/* ============================================
   SSO Login Section Styles
   ============================================ */
.sso-section {
    max-width: 450px;
    margin-top: 0;
}

.sso-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.sso-divider::before,
.sso-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.sso-divider span {
    padding: 0 16px;
    color: #999;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sso-btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background-color: #337ab7;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.3px;
}

.sso-btn:hover {
    background-color: #286090;
    color: #fff;
    box-shadow: 0 4px 12px rgba(51, 122, 183, 0.3);
}

.sso-btn:active {
    transform: translateY(1px);
}
