body {
    font-family: system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    /* ป้องกันการเลื่อนซ้ายขวา */
}

/* Left Side Background */
.bg-image-side {
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2075&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 123, 194, 0.95), rgba(18, 62, 107, 0.95));
    mix-blend-mode: multiply;
    z-index: -1;
}

/* Custom Colors & Forms */
.text-blue-100 {
    color: #dbeafe;
}

.btn-primary-custom {
    background-color: #007cdb;
    border-color: #007cdb;
    color: white;
    font-weight: 600;
}

.btn-primary-custom:hover {
    background-color: #006bbd;
    border-color: #006bbd;
    color: white;
}

.text-primary-custom {
    color: #007cdb;
}

.input-group-text {
    background-color: transparent;
    border-right: none;
    color: #a1a1aa;
}

.form-control-custom {
    border-left: none;
    padding-left: 0;
}

.form-control-custom:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(0, 124, 219, 0.25);
    border-radius: 0.375rem;
}

.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control-custom {
    border-color: #007cdb;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider span {
    padding: 0 10px;
    color: #adb5bd;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.logo-image {
    width: 100px;
    height: 100px;
    border-radius: 100%; /* แนะนำให้ใช้ 50% สำหรับวงกลมที่สมบูรณ์ */
    object-fit: cover;
    display: block;
    border: 1px solid #feffff; /* ใช้ 1px จะเป็นมาตรฐานกว่า 1.0px */
}
.sidebar-brand {
    display: flex;
    align-items: center; /* จัดให้อยู่กึ่งกลางแนวตั้ง */
    gap: 16px; /* เพิ่มระยะห่างระหว่างโลโก้และข้อความ ไม่ให้เบียดกัน */
    padding: 1rem; /* ปรับขอบเขตตามความเหมาะสมของ Sidebar */
}

.sidebar-brand .mark {
    flex-shrink: 0; /* สำคัญมาก! ป้องกันไม่ให้รูปโลโก้ถูกบีบให้เล็กลงเมื่อพื้นที่แคบ */
    display: flex;
    align-items: center;
    justify-content: center;
}
