﻿@charset "UTF-8";

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #1b6bb5 !important;
}

.user_card {
    height: 459px;
    width: 350px;
    margin-top: auto;
    margin-bottom: auto;
    background: #085296;
    position: relative;
    color: #ffffff;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

.brand_logo_container {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%); /* ✅ จัดให้ container อยู่กึ่งกลางแนวนอน */
    height: 170px;
    width: 170px;
    border-radius: 50%;
    background: #ffffff;
    padding: 0px;
    display: flex; /* ✅ ใช้ Flexbox ช่วยจัดกลาง */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.brand_logo {
    height: 100%;
    width: 100%;
    object-fit: cover; /* ✅ ให้รูปขยายเต็มโดยไม่ผิดสัดส่วน */
    border-radius: 50%; /* ✅ ให้รูปเป็นวงกลมพอดีกับ container */
}

.form_container {
    margin-top: 100px;
}

.login_btn {
    width: 100%;
    background: #0c5ea6 !important;
    color: white !important;
}

    .login_btn:focus {
        box-shadow: none !important;
        outline: 0px !important;
    }

.login_container {
    padding: 0 2rem;
}

.input-group-text {
    background: #0c5ea6 !important;
    color: white !important;
    border: 0 !important;
    border-radius: 0.25rem 0 0 0.25rem !important;
}

.input_user, .input_pass:focus {
    box-shadow: none !important;
    outline: 0px !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #c0392b !important;
}
