* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Center the container of the login box */
.vv {
    height: 100%; /* ใช้ 100% ความสูง */
    min-height: 100vh; /* ใช้ความสูงเต็มหน้าจอ */

    display: flex;
    justify-content: center;
    align-items: center;
    background: url('images/BG-Login.jpg') no-repeat top center;
	background-size: cover;
}

/* ใช้เฉพาะหน้า Login */
.login-page {
    background: url('images/Login-Page-edit.jpg') no-repeat top center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* ให้ div ขยายเต็มพื้นที่ */
    padding-top: 0px;
    margin-bottom: 0px; /* เอา margin-bottom ออก */
	height: 140px;
}

.login-noti {
    background: url('images/Noti-Page-edit1.jpg') no-repeat top center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* ให้ div ขยายเต็มพื้นที่ */
    padding-top: 0px;
    margin-bottom: 0px; /* เอา margin-bottom ออก */
}
.login-profile{
	background: url('images/Per-Info-edit.jpg') no-repeat top center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* ให้ div ขยายเต็มพื้นที่ */
    padding-top: 0px;
    margin-bottom: 0px; /* เอา margin-bottom ออก */
}

/* Breadcrumb ด้านบน */
.breadcrumb {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    font-size: 16px;
    color: #FFF;
	background-color: transparent;
}

.breadcrumb a {
    text-decoration: none;
    color: #FFF;
}

.breadcrumb span {
    color: #FFF;
}

/* จัดหน้า Login */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
	padding-top: 50px;
	padding-bottom: 50px;
}

/* ข้อความฝั่งซ้าย */
.login-left {
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
	width: 255px;
}

/* กล่อง Login */
.login-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    width: 434px;
}

h2 {
    color: #111873;;
}

p {
    color: #555;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.logw {
    background: #ec750e;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 27px;
    cursor: pointer;
}

.logw:hover {
    background: #d6600d;
}
.btLoginRegister{
	margin-top:10px; 
	border: solid 1px #ec750e;
	background-color: transparent;
	color: #ec750e; 
	font-size: 20px;
	width: 100%;
	border-radius: 27px;
}
.btLoginRegister:hover {
  color: #ec750e;
  border: solid 1px #ec750e;
  background-color: #ffefe1;
}

.btlnoti {
            background: linear-gradient(to right, #f68b1e, #c1a43f);
			color: #FFF;
	font-size: 20px;
	width: 40%;
	border-radius: 27px;
	margin-top: 33px;
        }




.options {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.options a {
    text-decoration: none;
    color: #111873;;
}
@media (max-width: 768px) {
    .login-container {
        flex-direction: column; /* เปลี่ยนเป็นแนวตั้ง */
        gap: 20px;
        padding: 20px;
        width: 100%;
    }

    .login-left {
        font-size: 24px; /* ลดขนาดฟอนต์ลง */
    }

    .login-box {
        width: 90%;
    }

    .breadcrumb {
        font-size: 14px;
        padding: 10px;
    }
	.btlnoti {
            background: linear-gradient(to right, #f68b1e, #c1a43f);
			color: #FFF;
	font-size: 16px;
	width: 50%;
	border-radius: 27px;
		margin-top: 16px;
        }
	.vv {
       height: 90%; /* ใช้ 100% ความสูง */
    min-height: 90vh; /* ใช้ความสูงเต็มหน้าจอ */
    }

}


.header {
            display: flex;
            background-color: #808080;
            color: white;
            padding: 15px 15px;
            align-items: center;
            font-size: 20px;
			margin-top: 10px;
	border: 1px solid;
        }
        .header div {
            display: flex;
            align-items: center;
            padding: 0 10px;
            border-right: 1px solid #fff;
        }
        .header div:last-child {
            border-right: none;
        }
        .icon {
            width: 16px;
            height: 16px;
            margin-right: 5px;
        }
        .signout {
            display: flex;
            align-items: center;
            padding: 0 10px;
            cursor: pointer;
        }
.signout a {
            text-decoration: none;
    color: #FFF;
        }


.member-box {
            width: 230px;
            height: 150px;
            background: linear-gradient(to right, #000080, #4040b8);
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
	opacity: 0.9;
        }
.member-boxx {
            width: 230px;
            height: 150px;
            background: linear-gradient(to right, #f68b1e, #c1a43f);
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
	opacity: 0.9;
        }

        .member-boxx img {
            width: 50px;
            height: 50px;
            margin-right: 15px;
        }

        .member-boxx span {
            color: white;
            font-size: 18px;
			text-align: left;

        }

.member-box img {
            width: 50px;
            height: 50px;
            margin-right: 15px;
        }

        .member-box span {
            color: white;
            font-size: 18px;
			text-align: left;

        }
#bottomss{
		padding-bottom: 30px;
	}

@media (max-width: 768px) {
    .member-box, .member-boxx {
        width: 100%;
        height: auto;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 15px;
        margin-bottom: 10px;
    }
	
	#bottomss{
		padding-bottom: 15px;
	}

    .member-box img, .member-boxx img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .member-box span, .member-boxx span {
        text-align: center;
		font-size: 12px;
    }

    .container .row > div[class*='col-'] {
        text-align: center;
		padding-left: 10px;
    padding-right: 10px;
    }
	

    .container[style*="margin-top"] {
       background-color: #333 !important;
    padding: 20px;
    width: 95%;
    margin: 20px;
    }
	/* ปรับพื้นหลังของแจ้งเตือนบัตรนายหน้า */
    .expire-warning {
        background-color: #333 !important;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
    }
	.header {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .header div {
        width: 100%;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid #fff;
        padding: 10px 0;
			
  display: unset;

    }
    .header div:last-child {
        border-bottom: none;
    }
    .signout {
        width: 100%;
        justify-content: flex-start;
    }
}
