/* =========================
   INLINE STYLE MIGRATION
========================= */
.container {
    max-width: 850px;
    margin: auto;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    max-width: 600px;
    width: 100%;
}

/* Headings & text */
.page-title {
    margin-top: 20px;
}

.subtitle {
    text-align: center;
    color: #666;
}

/* Tab buttons wrapper */
.tab-buttons.inline-gap {
    display: flex;
    gap: 10px;
}

/* Form row layout */
.form-row {
    margin-bottom: 10px;
}

.form-row.flex {
    display: flex;
    align-items: center;
}

.form-row label {
    width: 150px;
}

.required {
    color: red;
}

/* Inputs (35px height inline styles) */
.input-sm {
    padding: 4px 10px;
    height: 35px;
    width: 100%;
    box-sizing: border-box;
}

.input-field {
    padding: 4px 40px 4px 10px;
    height: 35px;
    width: 100%;
    box-sizing: border-box;
}

/* Password wrapper */
.password-wrap {
    position: relative;
    width: 100%;
}

/* Eye icon */
.eye-inline {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

/* Error text */
.error-text {
    color: red;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}

.error-left {
    padding-left: 120px;
}

.error-small {
    padding-left: 10px;
}

/* Country + mobile row */
.inline-flex {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 20%;
}

.mobile-input {
    width: 80%;
}

/* Footer text */
.help-text {
    text-align: center;
    font-size: 13px;
    margin-top: 15px;
}

/* Login button inline style cleanup */
.btn-primary {
    width: 100%;
    height: 38px;
    padding: 6px;
    border-radius: 8px;
    border: none;
    background: #0b63d6;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.btn-primary:hover {
    background: #084ca7;
}
.form-label {
    width: 150px;
    display: inline-block;
}

.required {
    color: red;
}
/* ===== EXACT INPUT BOX STYLE (FXPEN) ===== */
.input-exact {
    width: 100%;
    height: 38px;
    padding: 6px 14px;
    box-sizing: border-box;
    
    border: 1px solid #ddd;
    border-radius: 9px;

    font-size: 14px;
    color: #333;
    background-color: #fff;

    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus effect (subtle, professional) */
.input-exact:focus {
    border-color: #0b63d6;
    box-shadow: 0 0 0 2px rgba(11, 99, 214, 0.08);
}

/* Placeholder styling */
.input-exact::placeholder {
    color: #9ca3af;
    font-weight: 400;
}
/* ===== LOGIN / REGISTER TOGGLE ===== */
.tab-buttons {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 20px;
}

/* Base button */
.tab-buttons button {
    flex: 1;
    height: 45px;

    border: none;
    border-radius: 12px;

    background: #E5E4E2;
    color: #555;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.25s ease;
}

/* Active button */
.tab-buttons button.active {
    background: #0b63d6;
    color: #fff;
    box-shadow: 0 6px 14px rgba(11, 99, 214, 0.25);
}

/* Hover (inactive only) */
.tab-buttons button:not(.active):hover {
    background: rgba(11, 99, 214, 0.08);
}

/* ===== MESSAGE BLOCKS ===== */
.alert {
    max-width: 600px;
    margin: 15px auto;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* SUCCESS (GREEN) */
.alert-success {
    background: #e9f7ef;
    color: #0f5132;
    border: 1px solid #badbcc;
}

/* ERROR (RED) */
.alert-error {
    background: #fdecea;
    color: #842029;
    border: 1px solid #f5c2c7;
}
