﻿/* ===============================
   Base Layout
================================*/
body {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ===============================
   Card Container
================================*/
.auth-container {
    background: #ffffff;
    width: 380px;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* ===============================
   Headings
================================*/
.auth-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
}

/* ===============================
   Labels & Inputs
================================*/
.textbox {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    margin-bottom: 12px;
}

    .textbox:focus {
        border-color: #0078d4;
        outline: none;
    }

/* ===============================
   Buttons
================================*/
button,
input[type="submit"],
.asp-button {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    background-color: #0078d4;
    color: #ffffff;
    transition: background-color 0.3s;
}

    button:hover,
    input[type="submit"]:hover,
    .asp-button:hover {
        background-color: #005a9e;
    }

/* ===============================
   Messages (Info / Error / Success)
================================*/
.msg {
    display: block;
    margin-bottom: 15px;
    padding: 1px;
    border-radius: 4px;
    font-size: 14px;
    color: red;
    font-weight: bold !important;
}

    .msg.success {
        background-color: #e6f4ea;
        color: green !important;
        /*#2e7d32*/
        font-weight: bold;
        border: 1px solid #2e7d32;
    }

    .msg.error {
        background-color: #fdecea;
        color: #c62828 !important;
        font-weight: bold;
        border: 1px solid #c62828;
    }

    .msg.info {
        background-color: #e3f2fd;
        color: #1565c0 !important;
        font-weight: bold;
        border: 1px solid #1565c0;
    }

.success {
    background-color: #e6f4ea;
    color: green !important;
    /*#2e7d32*/
    font-weight: bold;
    /*border: 1px solid #2e7d32;*/
}

.error {
    background-color: #fdecea;
    color: #c62828 !important;
    font-weight: bold;
    /*border: 1px solid #c62828;*/
}

.info {
    background-color: #BDE5F8; /*#ffffff;*/
    color: #1565c0 !important;
    /*font-weight: bold;
    border: 1px solid #1565c0;
    */
}

.alerttable {
    display: block;
    color: #00529B;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    background-color: #BDE5F8;
    border: 1px solid #00529B;
    height: 30px;
    margin: 5px 0px;
    padding-left: 45px;
    background-image: url('../images/alerts/error.gif');
    background-repeat: no-repeat;
    background-position: 10px center;
}
/* ===============================
   Validation Messages
================================*/
span[style*="color:Red"],
.validator {
    color: #c62828;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}

/* ===============================
   Disabled State
================================*/
button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* ===============================
   Password Strength Progress Bar
================================ */

.pwd-strength-wrapper {
    margin-bottom: 14px;
}

.pwd-strength-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

#pwdStrengthProgress {
    height: 100%;
    width: 0%;
    background-color: #e53935; /* default red */
    transition: width 0.3s ease, background-color 0.3s ease;
}

.pwd-strength-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
}


