/* =============================================
   Baal Karyakram — Theme My Login Custom Styles
   All pages: login, logout, forgot password, reset password
   ============================================= */

/* Page background */
.page-template-default .entry-content,
body.tml-page {
    background: #fdf8f3;
}

/* Center the TML form on the page */
.tml {
    max-width: 440px;
    margin: 60px auto 80px;
    padding: 40px 36px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    font-family: inherit;
}

/* Form title (Login, Lost Password, etc.) */
.tml h3,
.tml h2,
.tml .tml-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d2d2d;
    text-align: center;
    margin-bottom: 28px;
}

/* Labels */
.tml label,
.tml .tml-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
}

/* Input fields */
.tml input[type="text"],
.tml input[type="password"],
.tml input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0d6cc;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fdf8f3;
    box-sizing: border-box;
    margin-bottom: 18px;
    transition: border-color 0.2s;
}

.tml input[type="text"]:focus,
.tml input[type="password"]:focus,
.tml input[type="email"]:focus {
    outline: none;
    border-color: #f07c2a;
    background: #fff;
}

/* Remember me checkbox row */
.tml .tml-rememberme-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

/* Submit button */
.tml input[type="submit"],
.tml .tml-button,
.tml button[type="submit"] {
    width: 100%;
    padding: 13px;
    background: #f07c2a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.1s;
}

.tml input[type="submit"]:hover,
.tml .tml-button:hover,
.tml button[type="submit"]:hover {
    background: #d4681e;
    transform: translateY(-1px);
}

/* Links below form (Forgot password, Back to login, etc.) */
.tml .tml-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}

.tml .tml-links a {
    color: #f07c2a;
    text-decoration: none;
    font-weight: 500;
}

.tml .tml-links a:hover {
    text-decoration: underline;
}

/* Success / error messages */
.tml .tml-errors,
.tml .login-error,
.tml p.error {
    background: #fff0ed;
    border-left: 4px solid #e05a2b;
    padding: 10px 14px;
    border-radius: 6px;
    color: #c0390b;
    font-size: 14px;
    margin-bottom: 18px;
}

.tml .tml-success,
.tml p.message {
    background: #edfaf3;
    border-left: 4px solid #2ecc71;
    padding: 10px 14px;
    border-radius: 6px;
    color: #1a7a45;
    font-size: 14px;
    margin-bottom: 18px;
}

/* Logout page text */
.tml .tml-action-links {
    text-align: center;
    margin-top: 16px;
}

/* Mobile */
@media (max-width: 480px) {
    .tml {
        margin: 30px 16px;
        padding: 28px 20px;
    }
}