 body {
   background-image: url('pic/volunteer.png');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
 }




 .containerlogin {
   background-color: rgba(255, 255, 255);
   padding: 2rem;
   border-radius: 1rem;
   max-width: 500px;
   margin: auto;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   opacity: 0.96;
 }

 .containerregis {
   background-color: rgba(255, 255, 255);
   padding: 2rem;
   border-radius: 1rem;
   width: 45%;
   margin: 40px auto;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   opacity: 0.96;

 }

 .containerregis .form-control {
   height: 40px !important;
 }

 .avatar {
   width: 150px;
   height: 150px;
   object-fit: cover;
   border-radius: 50%;
   border: 3px solid #3A9679;
   margin-bottom: 1rem;
 }

 .btnlogin {
   background-color: #3A9679 !important;
   border-color: #3A9679 !important;
   width: 100%;
 }

 .btnregister {
   background-color: #3A9679 !important;
   border-color: #3A9679 !important;
 }

 .btn-success {
   background-color: #3A9679 !important;
   border-color: #3A9679 !important;
 }

 .btn-success:hover {
   border-color: #3A9679 !important;
   color: #3A9679 !important;
   background-color: #d0e7e0 !important;
 }

 .btn-outline-success {
   border-color: #3A9679 !important;
   color: #3A9679 !important;
 }

 .btn-outline-success:hover {
   border-color: #3A9679 !important;
   color: #3A9679 !important;
   background-color: #d0e7e0 !important;
 }

 .textgreen {
   color: #3A9679 !important;
 }









 input[type=text],
 input[type=password] {
   width: 100%;
   padding: 12px 20px;
   margin: 8px 0;
   border: 1px solid #ccc;
   border-radius: 5px;
 }






 .labellogin {
   font-size: 18px;
   color: #ffffff;
 }

 .btnsubmit {
   font-weight: 500;
   font-size: 18px;
   margin-top: 3%;


 }

 .nav-link {
   color: #ffffff !important;
 }

 .linkregister {
   font-size: 16px;
   font-weight: bold;
   color: #000000;
   margin-top: 0.5%;
 }

 .linkregister a {
   color: #000000 !important;
   text-decoration: underline;
 }

 .linkregister a:hover {
   color: #333333;
 }



 .checkmember {
   font-size: 16px;
   font-weight: bold;
   color: #000000;
   background-color: #f04a7c;
   padding: 0.5%;
   margin-top: 1%;
   border-radius: 5px;
   width: 220px;
   text-align: center;
 }

 .checkmember a {
   color: #000000 !important;
   text-decoration: none !important;
   display: inline-block;
 }

 .checkmember a:hover {
   color: #333333;
 }





 .officerorhelp {
   margin-top: 1%;
 }



 .labelhead {
   font-size: 30px;
   margin-bottom: 2%;
   color: #ffffff;
 }

 .custom-file-upload {
   padding: 5px 20px;
   margin: 5px 0 0 0;
   background-color: rgb(230, 230, 230);
   border-radius: 5px;
   cursor: pointer;
   font-weight: bold;
 }

 .custom-file-upload:hover {
   background-color: rgb(230, 230, 230);
 }

 #file {
   display: none;
 }

 #file-name {
   margin-left: 10px;
   font-size: 16px;
   color: #000000;
 }



 #header a {
   text-decoration: none;
 }

 #header {

   display: flex;
   justify-content: space-between;
   height: 70px;
   padding: 15px 10% 15px 0;
   position: fixed;
   left: 0;
   top: 0;
   right: 0;
   transition: all 0.5s;
   z-index: 997;
   background-color: #3A9679;
 }


 #header #logo {
   font-size: 20px;
   padding: 5px 0 0 5%;
   color: #000000;
   width: auto;

 }

 #header #logo a {
   color: #000000;
   margin: 10px 0 0 0;
 }

 #header #logo a:hover {
   color: #b5d4a7;
 }

 @media (max-width: 1125px) {
   #header #logo a {
     font-size: 20px;
   }
 }

 @media (max-width: 991px) {
   #header #logo a {
     font-size: 19px;
   }
 }

 @media (max-width: 767px) {
   #header #logo a {
     font-size: 18px;
   }
 }

 @media (max-width: 480px) {
   #header #logo a {
     font-size: 17
   }
 }

 @media (max-width: 991px) {
   #header {
     background: #3A9679;
     height: 70px;
     padding: 15px 0;
     transition: all 0.5s;
   }

   #header #logo {
     color: #ffffff;
   }
 }

 @media (max-width: 991px) {
   #header {
     background: #3A9679;
     height: 70px;
     padding: 15px 0;
     transition: all 0.5s;
   }

   #header #logo {
     color: #ffffff;
   }
 }


 header ul {
   list-style: none;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: space-around;
   margin-right: 10%;
   width: 100%;
 }



 #hamburger-icon {
   margin: auto 0;
   display: none;
   cursor: pointer;
 }

 #hamburger-icon div {
   width: 35px;
   height: 3px;
   background-color: #ffffff;
   margin: 6px 6px;
   transition: 0.4s;
 }

 .open .bar1 {
   -webkit-transform: rotate(-45deg) translate(-6px, 6px);
   transform: rotate(-45deg) translate(-6px, 6px);
 }

 .open .bar2 {
   opacity: 0;
 }

 .open .bar3 {
   -webkit-transform: rotate(45deg) translate(-6px, -8px);
   transform: rotate(45deg) translate(-6px, -8px);
 }

 .open .mobile-menu {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: flex-start;
 }

 .mobile-menu {
   display: none;
   position: absolute;
   top: 70px;
   left: 0;
   height: calc(100vh - 50px);
   width: 100%;
   background-color: #d9fada;

 }

 .mobile-menu li {
   margin-bottom: 10px;
   margin-top: 5%;
   color: #000000;

 }

 .mobile-menu li a {
   color: #000000;

 }

 @media only screen and (max-width: 600px) {
   #header nav {
     display: none;
   }

   #hamburger-icon {
     display: block;
   }
 }

 .bi-box-arrow-right {
   margin-right: 15px;
   font-size: 20px;
   font-weight: 600;
 }


 .btn-logout {
   background-color: #dc3545;
   color: #000000;
   border: none;
   border-radius: 25px;
   padding: 8px 18px;
   font-weight: bold;
   display: flex;
   align-items: center;
   gap: 6px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
   text-decoration: none;
 }


 .btn-logout:hover {
   background-color: #eb4354;
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
   transform: translateY(-2px);
 }

 .btn-logout i {
   font-size: 18px;
 }





 .vertical-menu {
   padding: 10px;
   border-radius: 15px;
   width: 250px;
   overflow: hidden;
 }

 .vertical-menu .item {
   background-color: #b5d4a7;
   color: #000000;
   display: flex;
   align-items: center;
   padding: 12px 15px;
   text-decoration: none;
   border-radius: 8px;
   margin-bottom: 8px;
   margin-left: 15px;
   font-size: 16px;
   transition: all 0.3s ease-in-out;
 }

 .vertical-menu .item:hover {
   background-color: #b5d4a7;
   transform: scale(1.05);
 }

 .vertical-menu .item.active {
   background-color: #3A9679;
 }

 .vertical-menu .bi {
   padding-right: 12px;
   font-size: 18px;
 }

 .containermenu {
   background-color: deeppink;
 }











 .dataTables_wrapper table.dataTable thead th {
   background-color: #3A9679 !important;
   color: #000000 !important;
   text-align: center;
 }


 .dataTables_wrapper table.dataTable tbody td {
   text-align: center;
 }


 .dataTables_wrapper table.dataTable.stripe tbody tr:nth-child(odd) {
   background-color: #d9f5da !important;
 }

 .dataTables_wrapper table.dataTable.stripe tbody tr:nth-child(even) {
   background-color: #000000 !important;
 }


 .dataTables_wrapper table.dataTable.hover tbody tr:hover {
   background-color: #d9f5da !important;

 }


 .dataTables_wrapper table.dataTable,
 .dataTables_wrapper table.dataTable th,
 .dataTables_wrapper table.dataTable td {
   border-color: #3A9679 !important;
 }


 .dataTables_wrapper table.dataTable thead th {
   border-bottom: 2px solid #3A9679 !important;
 }

 /* ข้อความ label ("แสดง ... แถว" และ "ค้นหา:") */
 .dataTables_wrapper .dataTables_length label,
 .dataTables_wrapper .dataTables_filter label {
   font-weight: bold;
 }

 /* Select ของ "แสดง ... แถว" */
 .dataTables_wrapper .dataTables_length select {
   border: 1px solid #3A9679;
 }

 .dataTables_wrapper .dataTables_length select:focus {
   border-color: #3A9679;
   box-shadow: 0 0 5px rgba(147, 218, 151, 0.5);
   outline: none;
 }

 /* ช่องค้นหา */
 .dataTables_wrapper .dataTables_filter input {
   border: 1px solid #3A9679;
   border-radius: 5px;
   padding: 4px 8px;
 }

 .dataTables_wrapper .dataTables_filter input:focus {
   border-color: #3A9679;
   box-shadow: 0 0 5px rgba(147, 218, 151, 0.5);
   outline: none;
 }

 /* ข้อความแสดงผลรวม (info) เช่น "แสดง 1 ถึง 10 จาก 50 รายการ" */
 .dataTables_wrapper .dataTables_info {
   color: #020202;
   font-size: 0.9rem;
 }

 .table {
   width: 100%;
   border-collapse: collapse;
   background-color: #ffffff;
   overflow: hidden;
   font-size: 13.5px;
 }

 .table th {
   padding: 12px;
   text-align: center;
   font-weight: bold;
 }

 .table .editbtn {
   background-color: #FABC60;
   padding: 4px 12px;
   border-radius: 5px;
   border: none;
   cursor: pointer;
 }

 .table .delbtn {
   background-color: #E16262;
   padding: 4px 12px;
   border-radius: 5px;
   border: none;
   cursor: pointer;
   color: #000000;
 }

 .table .editbtn:hover {
   background-color: #e9ca9b;
 }

 .table .delbtn:hover {
   background-color: #c0392b;
 }

 .table .form-control-sm {
   min-height: 40px !important;
   margin-top: -1px !important;

 }






 .ct {
   text-align: center;
 }

 .dataTables_wrapper .dataTables_paginate .pagination .page-link {
   color: #3A9679 !important;
   border: 1px solid #3A9679 !important;
   background-color: transparent !important;
 }


 .dataTables_wrapper .dataTables_paginate .pagination .page-link:hover {
   background-color: #3A9679 !important;
   color: white !important;
 }

 .dataTables_wrapper .dataTables_paginate .pagination .active .page-link {
   background-color: #3A9679 !important;
   border-color: #3A9679 !important;
   color: white !important;
 }


 .dataTables_wrapper .dataTables_paginate .pagination .page-link:focus {
   background-color: #3A9679 !important;
   color: white !important;
   border-color: #3A9679 !important;
   box-shadow: none !important;
   /* เอาเงาสีน้ำเงินออก */
 }


 .dataTables_wrapper .dataTables_paginate .pagination .disabled .page-link {
   color: #ccc !important;
   border-color: #ccc !important;
   background-color: transparent !important;
 }



 .showpage {
   font-weight: bold;
   text-align: center;
   margin-bottom: 15px;
 }

 ul a {
   color: #ffffff;
 }

 ul li {
   padding: 5px;
   margin-left: 10px;
 }

 ul li a:hover {
   color: rgb(220, 255, 239);
 }



 .redtext {
   color: red;
   font-size: 14px;
 }

 .redtext2 {
   color: #ff0000;
 }




 .birthday,
 .startdate,
 .enddate {
   width: 90% !important;
 }

 .input-group-text {
   width: 10%;
   margin-top: -0.3%;
 }

 .bi-calendar3 {
   padding-bottom: 2px;
 }


 .movefile {
   margin: -9px 0 0 0;
 }






 .submitbtn {
   background-color: #3A9679;
   color: white;
   border: none;
   padding: 10px 20px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin: 4px 2px;
   cursor: pointer;
   border-radius: 8px;
   transition-duration: 0.4s;
 }

 .submitbtn:hover {
   background-color: #b3e7b5;
 }

 .cancelbtn {
   background-color: #dc3545;
   /* สีแดงสำหรับปุ่มยกเลิก */
   color: white;
   border: none;
   padding: 10px 20px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin: 4px 2px;
   cursor: pointer;
   border-radius: 8px;
   transition-duration: 0.4s;
 }

 .cancelbtn:hover {
   background-color: #f14c5d;
 }

 .containeredit {
   margin: 1% 0;
   padding: 1%;
   border: 3px solid #3A9679;
   border-radius: 10px;
 }


 .txtregister a {
   color: #636363;
 }

 .txtregister a:hover {
   color: #3b70b6;
 }




 .sidebar {
   min-height: 100vh;
   height: auto;
   background-color: #c1e2d8;
   color: rgb(0, 0, 0);
   padding-top: 20px;
 }


 .content {
   padding: 30px;
 }

 .stat-card {
   border-left: 5px solid #007bff;
   border-radius: .3rem;
 }

 .stat-card.red {
   border-left-color: #dc3545;
 }

 .stat-card.green {
   border-left-color: #28a745;
 }

 .dataTables_wrapper .row:first-child {
   padding: 15px 0;
   background-color: #fff;
   border-top-left-radius: 0.3rem;
   border-top-right-radius: 0.3rem;
   border: 1px solid #dee2e6;
   border-bottom: none;
 }

 .dataTables_wrapper .row:last-child {
   padding: 15px 0;
   background-color: #fff;
   border-bottom-left-radius: 0.3rem;
   border-bottom-right-radius: 0.3rem;
   border: 1px solid #dee2e6;
   border-top: none;
 }



 .btnaddform {
   background-color: #E16262 !important;
 }

 .bggradient {
   background-color: #3A9679 !important;
 }

 .modalhead {
   background-color: #3A9679 !important;
   border-bottom: 2px solid #dee2e6;
   padding-bottom: 5px;
   margin-bottom: 10px;
 }

 .menupanel {
   background-color: #3A9679 !important;
 }

 .headcontent {
   color: #000000;
 }

 .btnbacktologin {
   margin: 1%;
   background-color: #3b70b6;
 }

 .dokjan {
   color: #ff0000;
 }

 .btncancel {
   background-color: #8e918e !important;
 }

 .logoutbtn {
   background-color: #6a9789 !important;
   border-color: #6a9789 !important;
   width: 100% !important;
 }

 .logoutbtn:hover {
   border-color: #6a9789 !important;
   color: #6a9789 !important;
   background-color: #d0e7e0 !important;
 }


 #sdg_checkbox_group.is-invalid .form-check-input:not(:checked) {
   border: 1px solid #dc3545 !important;
 }

 #sdg_checkbox_group.is-valid .form-check-input {
   border-color: #198754 !important;
 }

 #sdg_checkbox_group.is-invalid .form-check-input:checked {
   border-color: #198754 !important;
 }


 #sdg_checkbox_group.is-invalid .form-check-label {
   color: #dc3545 !important;
 }


 #sdg_checkbox_group.is-valid .form-check-label {
   color: #198754 !important;
 }


 #sdg_checkbox_group:not(.is-invalid):not(.is-valid) .form-check-label {
   color: inherit;
 }

 .titlehead {
   color: #dc3545 !important;
   font-size: 18px;
 }

 .gender {
   padding-left: 15px;
 }

 .country {
   margin-top: 2%;
 }


 #interest_checkbox_group.is-invalid .form-check-label,
 #interest_checkbox_group.is-invalid .interest-area-checkbox {
   color: #dc3545 !important;
   border-color: #dc3545 !important;
 }

 #interest_checkbox_group.is-valid .form-check-label,
 #interest_checkbox_group.is-valid .interest-area-checkbox{
   color: #198754 !important;
   border-color: #198754 !important;
 }


 #interest_checkbox_group.is-invalid .interest-area-checkbox:checked {
   border-color: #198754 !important;
   background-color: #198754 !important;
 }