@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');


/* Global font: Noto Sans Thai for entire site (no !important to avoid breaking icon fonts) */
html,
body,
button,
input,
select,
textarea,
.btn,
.navbar,
.dropdown-menu {
  font-family: 'Sarabun', sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

body {
  margin: 0;
}

/* Header table stacking (inc_main.php) */
@media (max-width: 768px) {
  #headerBar {
    width: 100% !important;
  }

  #headerBar tr,
  #headerBar td {
    display: block;
    width: 100% !important;
  }

  #headerBar td[width] {
    width: 100% !important;
  }

  #headerBar img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Header banner (inc_main2.php) */
.header-hero-table {
  width: 100%;
  /* max-width: 1560px; */
  margin: 0 auto;
}

.header-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 507px;
}

.header-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.header-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: block;
}

.header-slide.active {
  opacity: 1;

}

.header-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #ff6ba8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  font-size: 18px;
}

.header-carousel-prev {
  left: 12px;
}

.header-carousel-next {
  right: 12px;
}

.header-carousel-arrow:hover {
  background: #e25592;
}

.header-carousel-dots {
  position: absolute;
  left: 100px;
  bottom: 150px;
  transform: none;
  display: flex;
  gap: 8px;
}

.header-carousel-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.header-carousel-dot.active {
  background: #ff6ba8;
}

/* Pink strip under header (bg3 uses home_bg_03.jpg) */
.bg3 {
  background-repeat: no-repeat !important;
}

/* Navbar Styles */
#nav-wrap {
  position: relative;
  font-family: 'Sarabun', sans-serif;
}

.top-navbar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.top-navbar>li {
  position: relative;
}

.top-navbar>li.dropdown {
  position: static;
}

.top-navbar>li>a {
  display: block;
  padding: 10px 10px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.top-navbar>li>a:hover,
.top-navbar>li.dropdown.open>a {
  background-color: #f0f0f0;
  color: #660042;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  min-width: 100%;
  max-width: none;
  min-height: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 16px 32px;
  z-index: 1000;
  list-style: none;
  border: 1px solid #eee;
  text-align: left;
  background-image: url('../images/home_bg13_05.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown:hover .dropdown-menu.dropdown-menu-cols,
.dropdown.open .dropdown-menu.dropdown-menu-cols {
  display: flex;
  flex-wrap: wrap;
}

.dropdown-menu.dropdown-menu-cols {
  align-items: flex-start;
}

.dropdown-menu.dropdown-menu-cols .dropdown-col {
  flex: 1 1 0;
  padding-right: 32px;
}

.dropdown-menu.dropdown-menu-cols .dropdown-col:last-child {
  padding-right: 0;
}

.dropdown-menu.dropdown-menu-cols .dropdown-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.dropdown-menu.dropdown-menu-cols .dropdown-col ul li {
  margin-bottom: 6px;
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 4px 16px 4px 26px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: background 0.2s;
  background-image: url('../images/ball_green.png');
  background-repeat: no-repeat;
  background-position: 8px center;
  background-size: 12px 12px;
  text-align: left;
}

.dropdown-menu li a:hover {
  background-color: #f9f9f9;
  color: #660042;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

/* Mobile Nav */
@media (max-width: 992px) {
  #nav-wrap {
    text-align: left;
    padding: 8px 12px 4px;
  }


  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff6ba8;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 14px;
  }

  .nav-toggle::before {
    content: '\2630';
    font-size: 18px;
    margin-right: 6px;
  }

  .top-navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: 250px;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 999;
    align-items: stretch;
  }

  #nav-wrap.open .top-navbar {
    display: flex;
  }

  #nav-wrap.open .nav-backdrop {
    display: block;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: #f9f9f9;
    padding-left: 20px;
    display: none;
    min-height: 0;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown.open .dropdown-menu.dropdown-menu-cols {
    display: block;
  }

  .dropdown-menu.dropdown-menu-cols {
    flex-wrap: nowrap;
  }

  .dropdown-menu.dropdown-menu-cols .dropdown-col {
    flex: none;
    padding-right: 0;
  }

  .top-navbar>li>a {
    padding: 12px 20px;
  }
}

/* News section styles (from index1.php) */
.news-section {
  max-width: 1560px;
  margin: 0 auto;
  padding: 24px 0;
  text-align: center;
  height: 500px;
}

.news-header h2 {
  margin: 0 0 4px;
  font-size: 24px;
  color: #660042;
}

.news-header p {
  margin: 0 0 12px;
  color: #333;
}

.bg6 .news-section {
  margin-top: 200px;
}

/* Refactored Tab Menu */
.news-tabs-container {
  width: 1560px;
  text-align: center;
  margin: 0 auto 20px auto;
}

.news-tabs-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #dde3e8 0%, #f1f4f7 100%);
  border-radius: 999px;
  padding: 10px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  position: relative;
  z-index: 2;
}

.nt-tab {
  font-family: 'Sarabun', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 55px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  color: #5b4b55;
  transition: all .2s ease;
  white-space: nowrap;
  user-select: none;
}

.nt-tab:hover {
  color: #342530;
}

.nt-tab.active {
  background: #9a6f8c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
  color: #ffffff;
}

.nt-panels {
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.nt-panel {
  display: none;
}

.nt-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.activitySwiper {
  /* เพิ่มพื้นที่ว่างด้านล่างให้มากพอ */
  padding-bottom: 50px !important;
}

.activitySwiper2 {
  /* เพิ่มพื้นที่ว่างด้านล่างให้มากพอ */
  padding-bottom: 50px !important;
}


.activitySwiper .swiper-pagination {
  /* ให้จุดเกาะอยู่ขอบล่างสุดของพื้นที่ 100px ที่เราสร้างไว้ */
  bottom: 10px !important;
}


.activitySwiper2 .swiper-pagination {
  /* ให้จุดเกาะอยู่ขอบล่างสุดของพื้นที่ 100px ที่เราสร้างไว้ */
  bottom: 10px !important;
}

.swiper-wrapper {
  /* เปิดใช้งาน Flexbox */
  display: flex;

  /* สำคัญมาก: ต้องตั้งค่านี้เพื่อให้ Flex Items (Card) ยืดตัวให้เต็มความสูงของ Container */
  align-items: stretch;
}


.swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
  position: relative;
}

.swiper-pagination-bullet-active {
  background-color: #660042 !important;
}

.news-card {
  font-family: 'Sarabun', sans-serif;
  display: flex;
  flex-direction: column;
  /* ลบ height: 100%; ออก */

  /* **สำคัญ:** กำหนดความสูงรวมที่ต้องการ (ลองที่ 350px ก่อน) */
  height: 350px;

  width: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eaeaea;
  background: #ffffff;
  border-radius: 8px;
  /* ถ้า Card มีความสูงแน่นอนแล้ว อาจจะเอา overflow: hidden ออกได้ */
  overflow: hidden;
  transition: background 0.5s ease;
  /* ให้เปลี่ยนสีลื่น */
}


.news-thumb {
  width: 100%
}

.news-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;

}

.news-card:hover {
  background: #FCC0F4;

}

.news-card:hover .news-thumb img {
  transform: scale(1.02);
  object-position: top;
  object-fit: cover;
}

.news-card h3 {
  font-size: 17px;
  margin: 8px;
  line-height: 1.3;
  flex: 0 0 auto;
  text-align: left;
}

.news-card span {
  font-size: 15px;
  margin: 8px;
  line-height: 1.3;
  flex: 0 0 auto;
  text-align: left;
}

.news-date {
  position: absolute;
  color: #666;
  font-size: 12px;
  margin: 0 8px 8px;
  bottom: 10px;
}

.news-card2 {
  font-family: 'Sarabun', sans-serif;
  display: flex;
  flex-direction: column;
  /* ลบ height: 100%; ออก */

  /* **สำคัญ:** กำหนดความสูงรวมที่ต้องการ (ลองที่ 350px ก่อน) */
  height: 350px;

  width: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eaeaea;
  background: #ffffff;
  border-radius: 8px;
  /* ถ้า Card มีความสูงแน่นอนแล้ว อาจจะเอา overflow: hidden ออกได้ */
  overflow: hidden;
  transition: background 0.5s ease;
  /* ให้เปลี่ยนสีลื่น */
}

.news-thumb2 {
  width: 100%
}

.news-thumb2 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;

}

.news-card2:hover {
  background: #FCC0F4;

}

.news-card2:hover .news-thumb2 img {
  transform: scale(1.02);
  object-position: top;
  object-fit: cover;
}

.news-card2 h3 {
  font-size: 17px;
  margin: 8px;
  line-height: 1.3;
  flex: 0 0 auto;
  text-align: left;
}

.news-card2 span {
  font-size: 15px;
  margin: 8px;
  line-height: 1.3;
  flex: 0 0 auto;
  text-align: left;
}

.news-date2 {
  position: absolute;
  color: #666;
  font-size: 12px;
  margin: 0 8px 8px;
  bottom: 10px;
}



/* Video tab Swiper - 3 videos per view */
.videoSwiper {
  padding-bottom: 32px;
}

.videoSwiper .swiper-slide {
  height: auto;
  padding: 8px 0 12px;
}

.videoSwiper .swiper-pagination {
  position: static;
  margin-top: 14px;
}

.videoSwiper .video-prev,
.videoSwiper .video-next {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff6ba8;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  cursor: pointer;
  z-index: 20;
}

.videoSwiper .swiper-button-disabled {
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer;
}

.videoSwiper .video-prev:hover,
.videoSwiper .video-next:hover {
  background: #e25592;
}

.videoSwiper .swiper-button-prev::after,
.videoSwiper .swiper-button-next::after {
  font-size: 18px;
}

.video-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.video-thumb {
  position: relative;
  padding-top: 56.25%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-thumb iframe,
.video-thumb embed,
.video-thumb object,
.video-thumb video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.video-title {
  padding: 8px 10px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.btn-outline {
  font-family: 'Sarabun', sans-serifs;
  display: inline-block;
  padding: 11px 15px;
  border-radius: 6px;
  text-decoration: none;
  background: #ff6ba8;
  border: 1px solid #ff6ba8;
  color: #fff;
  font-size: 20px;
}

.btn-outline:hover {
  background: #e25592;
  border-color: #e25592;
  color: #fff;
}

.list-ann-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.list-ann {
  width: 54%;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;



}

.list-ann li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.list-ann a.title {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.list-ann .date {
  color: #666;
  font-size: 12px;
  white-space: nowrap;
  margin-left: 16px;
}

.list-ann a.title.list-ann-title {

  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;

}

.list-ann a.title.list-ann-title:hover {
  color: #667eea;

}

.ann-files {
  margin-top: 6px;
}

@media (max-width: 576px) {
  .list-ann li {
    flex-direction: column;
    align-items: flex-start;
  }

  .list-ann .date {
    margin-left: 0;
    margin-top: 4px;
  }
}

.ann-file {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 12px;
  text-decoration: none;
  color: #333;
  background: #f9f9f9;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Compatibility styles used by route files (from page1.php) */
.container,
.container-fluid {
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.text-center {
  text-align: center;
}

.img-fluid {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.justify-content-center {
  justify-content: center;
}

.row.row-cols-1>.col:only-child {
  margin-left: auto;
  margin-right: auto;
}

.col-12 {
  width: 100%;
}

.col-lg-10 {
  width: 100%;
}

@media (min-width: 992px) {
  .col-lg-10 {
    width: 83.3333%;
  }
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.table th,
.table td {
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
  vertical-align: middle;
}

.table-bordered {
  border: 1px solid #e5e5e5;
}

.table-striped tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

.table-primary th {
  background: #e9efff;
  color: #333;
}

.align-middle {
  vertical-align: middle !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
}

.pagination.pagination-sm .page-link {
  padding: 4px 8px;
  font-size: 12px;
}

.page-item .page-link {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  color: #660042;
  text-decoration: none;
}

.page-item.active .page-link {
  background: #660042;
  color: #fff;
  border-color: #660042;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}

.btn-sm {
  padding: 4px 10px;
  font-size: 12px;
}

.btn-outline-primary {
  border: 1px solid #ff6ba8;
  color: #fff;
  background: #ff6ba8;
}

.btn-outline-primary:hover {
  background: #e25592;
  border-color: #e25592;
  color: #fff;
}





.tabs2-container {
  width: 100%;
  max-width: 1560px;
  margin-top: 50px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

.tabs2-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  /* No border for the container as requested */
  padding-bottom: 10px;
}

.t2-tab {
  cursor: pointer;
  padding: 10px 10px;
  font-size: 22px;
  font-weight: 600;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-family: 'Sarabun', sans-serif;
}

.t2-tab:hover {
  color: #333;
}

.t2-tab.active {
  color: #000;
  /* Active tab has underline */
  border-bottom: 3px solid #ff6ba8;
}

.t2-panels {
  margin-top: 30px;
  min-height: 600px;
}

.t2-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.t2-panel.active {
  display: block;
}



.allnews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.allnews-header {
  text-align: center;
  margin-bottom: 30px;
}

.allnews-header h2 {
  font-family: 'Sarabun', sans-serif;
  font-size: 28px;
  color: #660042;
  margin: 0;
}

.allnews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .allnews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .allnews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .allnews-grid {
    grid-template-columns: 1fr;
  }
}

.allnews-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 320px;
  /* Fixed height for consistency */
}

.allnews-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: #FCC0F4;
}

.allnews-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.allnews-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.allnews-card:hover .allnews-thumb img {
  transform: scale(1.05);
}

.allnews-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.allnews-title {
  font-family: 'Sarabun', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;

  /* Truncate text to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.allnews-date {
  font-size: 12px;
  color: #666;
  text-align: right;
}

/* Pagination Styles */
.custom-pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 40px;
  font-family: 'Sarabun', sans-serif;
}

.page-link-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.page-link-custom:hover {
  background: #f0f0f0;
  border-color: #ccc;
  color: #000;
}

.page-link-custom.active {
  background: #ff6ba8;
  border-color: #ff6ba8;
  color: #fff;
}

.page-link-custom.disabled {
  color: #ccc;
  pointer-events: none;
  border-color: #eee;
}




.poll-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
  color: white;
}

.poll-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.poll-subtitle {
  text-align: center;
  opacity: 0.9;
  margin-bottom: 30px;
  font-size: 14px;
}

.poll-options {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
}

.poll-option {
  margin-bottom: 15px;
  position: relative;
}

.poll-option:last-child {
  margin-bottom: 0;
}

.poll-option label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.poll-option label:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(5px);
}

.poll-option input[type="radio"] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 3px solid white;
  border-radius: 50%;
  margin-right: 15px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.poll-option input[type="radio"]:checked {
  border-color: #4CAF50;
  background: #4CAF50;
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
}

.poll-option input[type="radio"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.poll-option-text {
  font-size: 16px;
  font-weight: 500;
  flex: 1;
}

.poll-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.poll-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.poll-btn-submit {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
}

.poll-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.poll-btn-submit:active {
  transform: translateY(0);
}

.poll-btn-result {
  background: linear-gradient(135deg, #2196F3, #1976d2);
  color: white;
}

.poll-btn-result:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.poll-alert {
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 15px;
  text-align: center;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.poll-alert-warning {
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid #FFC107;
  color: #fff;
}

.poll-alert-success {
  background: rgba(76, 175, 80, 0.2);
  border: 2px solid #4CAF50;
  color: #fff;
}

.poll-empty {
  text-align: center;
  padding: 40px;
  opacity: 0.7;
}

.poll-icon {
  font-size: 18px;
}