/**
* Template Name: Arsha - v2.3.1
* Template URL: https://bootstrapmade.com/arsha-free-bootstrap-html-template-corporate/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/* Fonts */
 /* --------------------------------------------------------------
   Font Imports (แทน <link> ใน HTML)
-------------------------------------------------------------- */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;600&display=swap');

/* Bootstrap Icons */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css');

/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');


body {
  font-family: 'Sarabun', 'TH Sarabun New', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #17324d;
  background: #ffffff;
  font-weight: 400;
}

a {
  color: #081014;
}

a:hover {
  color: #2e373b;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Kanit', sans-serif;
  color: #082f63;
  font-weight: 600;
}

button,
.btn,
.nav-menu a,
label {
  font-family: 'Kanit', 'Sarabun', sans-serif;
}

.btn {
  border-radius: 12px;
  font-weight: 500;
}

.btn-warning {
  color: #082f63 !important;
  background: #f6c945;
  border-color: #f6c945;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #0b4ea2;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f6c945;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: #47b2e4;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #069fe6;
  color: #fff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
}

#header.header-scrolled, #header.header-inner-pages {
  background: rgba(40, 58, 90, 0.9);
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #fff;
}

#header .logo img {
  max-height: 40px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 10px 0 10px 28px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #fff;
  transition: 0.3s;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: bold;
  font-family: 'Kanit', 'Sarabun', sans-serif;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #092f54;
  font-weight: bold;
  text-decoration: none;
  background: #f6c945;
}

.nav-menu .drop-down ul {
  border-radius: 8px;
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #0c3c53;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
  color: #0b4f8a;
  background: #eaf4ff;
}

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  content: "\eaa0";
  font-family: IcoFont;
  position: absolute;
  right: 15px;
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

/* Get Startet Button */
.get-started-btn {
  margin-left: 25px;
  color: #fff;
  border-radius: 50px;
  padding: 6px 25px 7px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
  border: 2px solid #069be0;
  font-weight: 600;
}

.get-started-btn:hover {
  background: #1eb0f4;
  color: #fff;
}

@media (max-width: 768px) {
  .get-started-btn {
    margin: 0 48px 0 0;
    padding: 6px 20px 7px 20px;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  top: 20px;
  right: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #fff;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #37517e;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #0b99db;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(40, 58, 90, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 80vh;
  background: #37517e;
}

#hero .container {
  padding-top: 72px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 50px;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 11px 28px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px 0 0 0;
  color: #fff;
  background: #20aced;
}

#hero .btn-get-started:hover {
  background: #12a4e8;
}

#hero .btn-watch-video {
  font-size: 16px;
  display: inline-block;
  padding: 10px 0 8px 40px;
  transition: 0.5s;
  margin: 10px 0 0 25px;
  color: #fff;
  position: relative;
}

#hero .btn-watch-video i {
  color: #fff;
  font-size: 32px;
  position: absolute;
  left: 0;
  top: 7px;
  transition: 0.3s;
}

#hero .btn-watch-video:hover i {
  color: #0fadf6;
}

#hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 991px) {
  #hero {
    height: 100vh;
    text-align: center;
  }
  #hero .animated {
    -webkit-animation: none;
    animation: none;
  }
  #hero .hero-img {
    text-align: center;
  }
  #hero .hero-img img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  #hero .hero-img img {
    width: 70%;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }
  #hero .btn-get-started {
    font-size: 16px;
    padding: 10px 24px 11px 24px;
  }
  #hero .btn-watch-video {
    font-size: 16px;
    padding: 10px 0 8px 40px;
    margin-left: 20px;
  }
  #hero .btn-watch-video i {
    font-size: 32px;
    top: 7px;
  }
}

@-webkit-keyframes up-down {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f3f5fa;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #37517e;
}

.section-title h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #22abeb;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Cliens
--------------------------------------------------------------*/
.cliens {
  padding: 12px 0;
  text-align: center;
}

.cliens img {
  max-width: 45%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  filter: grayscale(100);
}

.cliens img:hover {
  filter: none;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .cliens img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
}

.about .content ul li + li {
  margin-top: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #14a4e7;
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .btn-learn-more {
  
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  transition: 0.3s;
  line-height: 1;
  color: #0ba5ec;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid #47b2e4;
}

.about .content .btn-learn-more:hover {
  background: #47b2e4;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .content {
  padding: 60px 100px 0 100px;
}

.why-us .content h3 {
  font-weight: 400;
  font-size: 34px;
  color: #37517e;
}

.why-us .content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
}

.why-us .content p {
  font-size: 15px;
  color: #848484;
}

.why-us .img {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.why-us .accordion-list {
  padding: 0 100px 60px 100px;
}

.why-us .accordion-list ul {
  padding: 0;
  list-style: none;
}

.why-us .accordion-list li + li {
  margin-top: 15px;
}

.why-us .accordion-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
}

.why-us .accordion-list a {
  display: block;
  position: relative;
   
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding-right: 30px;
  outline: none;
}

.why-us .accordion-list span {
  color: #47b2e4;
  font-weight: 600;
  font-size: 18px;
  padding-right: 10px;
}

.why-us .accordion-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.why-us .accordion-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.why-us .accordion-list .icon-show {
  display: none;
}

.why-us .accordion-list a.collapsed {
  color: #343a40;
}

.why-us .accordion-list a.collapsed:hover {
  color: #47b2e4;
}

.why-us .accordion-list a.collapsed .icon-show {
  display: inline-block;
}

.why-us .accordion-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1024px) {
  .why-us .content, .why-us .accordion-list {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  .why-us .img {
    min-height: 400px;
  }
  .why-us .content {
    padding-top: 30px;
  }
  .why-us .accordion-list {
    padding-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .why-us .img {
    min-height: 200px;
  }
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .content h3 {
  font-weight: 700;
  font-size: 32px;
  color: #37517e;
 
}

.skills .content ul {
  list-style: none;
  padding: 0;
}

.skills .content ul li {
  padding-bottom: 10px;
}

.skills .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #47b2e4;
}

.skills .content p:last-child {
  margin-bottom: 0;
}

.skills .progress {
  height: 50px;
  display: block;
  background: none;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;

  color: #37517e;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #e8edf5;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: .9s;
  background-color: #4668a2;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  background: #fff;
}

.services .icon-box .icon {
  margin-bottom: 10px;
}

.services .icon-box .icon i {
  color: #47b2e4;
  font-size: 36px;
  transition: 0.3s;
}

.services .icon-box h4 {
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #37517e;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  transform: translateY(-10px);
}

.services .icon-box:hover h4 a {
  color: #47b2e4;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(40, 58, 90, 0.9), rgba(40, 58, 90, 0.9)), url("../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 120px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #47b2e4;
  border: 2px solid #47b2e4;
}

@media (max-width: 1024px) {
  .cta {
    background-attachment: scroll;
  }
}

@media (min-width: 769px) {
  .cta .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
  list-style: none;
  margin-bottom: 20px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  margin: 10px 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #444444;
  transition: all 0.3s;
  padding: 8px 20px;
  border-radius: 50px;
   
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  background: #47b2e4;
  color: #fff;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-img {
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-img img {
  transition: all 0.6s;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 15px;
  bottom: 0;
  z-index: 3;
  right: 15px;
  transition: all 0.3s;
  background: rgba(55, 81, 126, 0.8);
  padding: 10px 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: #f9fcfe;
  font-size: 14px;
  margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link, .portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: #fff;
  transition: 0.3s;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover, .portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #47b2e4;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 10px;
}

.portfolio .portfolio-item:hover .portfolio-img img {
  transform: scale(1.15);
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 5px;
  background: #fff;
  transition: 0.5s;
}

.team .member .pic {
  overflow: hidden;
  width: 180px;
  border-radius: 50%;
}

.team .member .pic img {
  transition: ease-in-out 0.3s;
}

.team .member:hover {
  transform: translateY(-10px);
}

.team .member .member-info {
  padding-left: 30px;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: #37517e;
}

.team .member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .member span::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #cbd6e9;
  bottom: 0;
  left: 0;
}

.team .member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.team .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #eff2f8;
}

.team .member .social a i {
  color: #37517e;
  font-size: 16px;
  margin: 0 2px;
}

.team .member .social a:hover {
  background: #47b2e4;
}

.team .member .social a:hover i {
  color: #fff;
}

.team .member .social a + a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .row {
  padding-top: 40px;
}

.pricing .box {
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
  background: #fff;
  height: 100%;
  border-top: 4px solid #fff;
  border-radius: 5px;
}

.pricing h3 {
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 20px;
  color: #37517e;
}

.pricing h4 {
  font-size: 48px;
  color: #37517e;
  font-weight: 400;
  font-family: 'Kanit', sans-serif;
  margin-bottom: 25px;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: #47b2e4;
  font-size: 18px;
  display: block;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: #999;
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0 10px 30px;
  position: relative;
}

.pricing ul i {
  color: #28a745;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: 6px;
}

.pricing ul .na {
  color: #ccc;
}

.pricing ul .na i {
  color: #ccc;
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  color: #47b2e4;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Kanit', sans-serif;
  transition: 0.3s;
  border: 1px solid #47b2e4;
}

.pricing .buy-btn:hover {
  background: #47b2e4;
  color: #fff;
}

.pricing .featured {
  border-top-color: #47b2e4;
}

.pricing .featured .buy-btn {
  background: #47b2e4;
  color: #fff;
}

.pricing .featured .buy-btn:hover {
  background: #23a3df;
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li + li {
  margin-top: 15px;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
}

.faq .faq-list a {
  display: block;
  position: relative;
 
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
}

.faq .faq-list .icon-help {
  font-size: 24px;
  position: absolute;
  right: 0;
  left: 20px;
  color: #47b2e4;
}

.faq .faq-list .icon-show, .faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #37517e;
  transition: 0.3s;
}

.faq .faq-list a.collapsed:hover {
  color: #47b2e4;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  border-top: 3px solid #47b2e4;
  border-bottom: 3px solid #47b2e4;
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
}

.contact .info i {
  font-size: 20px;
  color: #47b2e4;
  float: left;
  width: 44px;
  height: 44px;
  background: #e7f5fb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #37517e;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #6182ba;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #47b2e4;
  color: #fff;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #47b2e4;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  border-top: 3px solid #47b2e4;
  border-bottom: 3px solid #47b2e4;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: #47b2e4;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #47b2e4;
  border: 0;
  padding: 12px 34px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #209dd8;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f3f5fa;
  min-height: 40px;
  margin-top: 72px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 68px;
  }
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 600;
  color: #37517e;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #049a97;
  content: "/";
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-container {
  position: relative;
}

.portfolio-details .portfolio-details-carousel {
  position: relative;
  z-index: 1;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: left;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 10px 0 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #47b2e4 !important;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  position: absolute;
  right: 0;
  bottom: -70px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 50px;
}

.portfolio-details .portfolio-description h2 {
  width: 50%;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0 0 0 0;
}

@media (max-width: 768px) {
  .portfolio-details .portfolio-description h2 {
    width: 100%;
  }
  .portfolio-details .portfolio-info {
    position: static;
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  font-size: 14px;
  background: #37517e;
}

#footer .footer-newsletter {
  padding: 50px 0;
  background: #f3f5fa;
  text-align: center;
  font-size: 15px;
  color: #444444;
}

#footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  color: #37517e;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
  text-align: left;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #47b2e4;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: #209dd8;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 28px;
  margin: 0 0 10px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
  color: #37517e;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: 'Kanit', sans-serif;
  color: #5e5e5e;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #37517e;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #47b2e4;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #47b2e4;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #47b2e4;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #209dd8;
  color: #fff;
  text-decoration: none;
}

#footer .footer-bottom {
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
}

#footer .copyright {
  float: left;
}

#footer .credits {
  float: right;
  font-size: 13px;
}

#footer .credits a {
  transition: 0.3s;
}

@media (max-width: 768px) {
  #footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #footer .copyright, #footer .credits {
    text-align: center;
    float: none;
  }
  #footer .credits {
    padding-top: 4px;
  }
}

/*--------------------------------------------------------------
# Bootstrap Color Utility Classes
--------------------------------------------------------------*/
.text-primary { color: #0d6efd !important; }
.text-secondary { color: #6c757d !important; }
.text-success { color: #198754 !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #0dcaf0 !important; }
.text-light { color: #f8f9fa !important; }
.text-dark { color: #212529 !important; }

.bg-primary { background-color: #0d6efd !important; }
.bg-secondary { background-color: #6c757d !important; }
.bg-success { background-color: #198754 !important; }
.bg-danger { background-color: #dc3545 !important; }
.bg-warning { background-color: #ffc107 !important; }
.bg-info { background-color: #0dcaf0 !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-dark { background-color: #212529 !important; }

.border-primary { border-color: #0d6efd !important; }
.border-secondary { border-color: #6c757d !important; }
.border-success { border-color: #198754 !important; }
.border-danger { border-color: #dc3545 !important; }
.border-warning { border-color: #ffc107 !important; }
.border-info { border-color: #0dcaf0 !important; }
.border-light { border-color: #f8f9fa !important; }
.border-dark { border-color: #212529 !important; }


/*--------------------------------------------------------------
# Icon Menu
--------------------------------------------------------------*/

.text-icon { color: #06af85ff !important; }
.text-icon1 { color: #fb8cf7  !important; }

/*--------------------------------------------------------------
# AUCC Global Dynamic Theme Components
--------------------------------------------------------------*/
:root {
  --aucc-primary: #0b4ea2;
  --aucc-secondary: #073b7a;
  --aucc-accent: #f6c945;
  --aucc-header-height: 76px;
}

/* Keep every routed page below the fixed navbar.  JavaScript updates the
   variable from the header's real height for each screen size. */
body:not(.page-home-public) #main {
  padding-top: var(--aucc-header-height);
}

#main > .aucc-main-spacer {
  display: none;
}

html {
  scroll-padding-top: calc(var(--aucc-header-height) + 12px);
}

#header,
#footer {
  background-color: var(--aucc-primary) !important;
}

#header {
  background-image: linear-gradient(100deg, #073b7a 0%, #0b4ea2 68%, #1264c4 100%) !important;
  box-shadow: 0 10px 30px rgba(7, 59, 122, .18);
}

.aucc-brand-text {
  color: var(--aucc-accent);
}

.aucc-brand-link,
.aucc-brand-link:hover {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--aucc-accent);
  font-family: 'Kanit', sans-serif;
  text-decoration: none;
}

.aucc-brand-link i {
  font-size: 1.15em;
}

.aucc-lang-switch {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.aucc-lang-switch a {
  min-width: 42px;
  padding: 5px 10px !important;
  border-radius: 999px;
  text-align: center;
  color: #fff !important;
  font-size: .78rem !important;
}

.aucc-lang-switch a.is-active {
  color: #082f63 !important;
  background: var(--aucc-accent);
}

.page-home-public #header {
  display: none;
}

.page-home-public #main > .aucc-main-spacer {
  display: none;
}

.page-home-public #main {
  padding-top: 0;
}

.page-home-public .portal-home {
  padding-top: 42px;
}

.nav-menu .aucc-menu-user > a,
.nav-menu .aucc-menu-reviewer > a,
.nav-menu .aucc-menu-admin > a {
  border-radius: 6px;
  color: #fff !important;
  margin-left: 6px;

  padding: 10px 14px !important;
}

.nav-menu .aucc-menu-user > a {
  background: var(--aucc-primary);
}

.nav-menu .aucc-menu-reviewer > a {
  background: #2563eb;
}

.nav-menu .aucc-menu-admin > a {
  background: #0b4f8a;
}

.nav-menu .aucc-menu-user > a:hover,
.nav-menu .aucc-menu-reviewer > a:hover,
.nav-menu .aucc-menu-admin > a:hover {
  filter: brightness(.93);
}

.nav-menu .aucc-menu-user ul {
  border-top: 3px solid var(--aucc-primary);
}

.nav-menu .aucc-menu-reviewer ul {
  border-top: 3px solid #2563eb;
}

.nav-menu .aucc-menu-admin ul {
  min-width: 320px;
  max-height: calc(100vh - 92px);
  overflow-x: hidden;
  overflow-y: auto;
  border-top: 3px solid var(--aucc-accent);
}

.nav-menu .aucc-menu-admin .aucc-menu-group-label {
  min-width: 0;
  padding: 11px 18px 5px;
  border-top: 1px solid #dbe8f4;
  background: #f8fbff;
  color: #0b4f8a;
  cursor: default;
  font-family: 'Kanit', 'Sarabun', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav-menu .aucc-menu-admin .aucc-menu-group-label:first-child {
  padding-top: 7px;
  border-top: 0;
}

.nav-menu .aucc-menu-admin .aucc-menu-group-label:hover {
  background: #f8fbff;
  color: #0b4f8a;
}

.nav-menu .aucc-menu-admin ul a {
  border-left: 3px solid transparent;
}

.nav-menu .aucc-menu-admin ul a:hover {
  border-left-color: var(--aucc-accent);
}

.mobile-nav .aucc-menu-group-label {
  margin-top: 5px;
  padding: 10px 20px 4px;
  border-top: 1px solid #dbe8f4;
  background: #f8fbff;
  color: #0b4f8a;
  font-family: 'Kanit', 'Sarabun', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mobile-nav .aucc-menu-group-label:hover {
  color: #0b4f8a;
  background: #f8fbff;
}

.btn-primary,
.btn-info {
  background-color: var(--aucc-primary);
  border-color: var(--aucc-primary);
}

.btn-primary:hover,
.btn-info:hover {
  background-color: var(--aucc-secondary);
  border-color: var(--aucc-secondary);
}

.notification .badge {
  position: absolute;
  top: -10px;
  right: 15px;
  padding: 2px 5px;
  border-radius: 30%;
  background-color: red;
  color: white;
}

/*--------------------------------------------------------------
# AUCC Public Home Theme
--------------------------------------------------------------*/
.portal-home {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 96px);
  padding: 34px 0 62px;
  background:
    radial-gradient(circle at 88% 9%, rgba(246, 201, 69, .16), transparent 23rem),
    radial-gradient(circle at 7% 43%, rgba(40, 125, 225, .08), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 48%, #f7faff 100%);
}

.portal-grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(rgba(11, 78, 162, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 78, 162, .055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  animation: portal-grid-drift 18s linear infinite;
}

.portal-digital-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.portal-orbit {
  position: absolute;
  border: 1px solid rgba(11, 78, 162, .15);
  border-radius: 50%;
  animation: portal-orbit-spin 24s linear infinite;
}

.portal-orbit::before,
.portal-orbit::after {
  content: '';
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(11, 78, 162, .1);
  border-radius: inherit;
}

.portal-orbit::after {
  inset: 31%;
  border-style: solid;
  border-color: rgba(246, 201, 69, .22);
}

.portal-orbit-one {
  top: 7%;
  right: -128px;
  width: 520px;
  height: 520px;
}

.portal-orbit-two {
  top: 57%;
  left: -145px;
  width: 350px;
  height: 350px;
  animation-duration: 31s;
  animation-direction: reverse;
}

.portal-orbit-node {

  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0b4ea2;
  box-shadow: 0 0 0 7px rgba(11, 78, 162, .1), 0 0 24px rgba(11, 78, 162, .28);
}

.portal-orbit-node.node-a {
  top: 10%;
  left: 24%;
}

.portal-orbit-node.node-b {
  right: 8%;
  bottom: 31%;
  background: #f1bc16;
  box-shadow: 0 0 0 7px rgba(246, 201, 69, .13), 0 0 24px rgba(226, 173, 8, .28);
}

.portal-orbit-core {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(11, 78, 162, .12);
  border-radius: 22px;
  color: rgba(11, 78, 162, .2);
  background: rgba(255, 255, 255, .72);
  font-size: 1.75rem;
  transform: translate(-50%, -50%) rotate(45deg);
  backdrop-filter: blur(6px);
}

.portal-orbit-core i {
  transform: rotate(-45deg);
}

.portal-data-stream {
  position: absolute;
  color: rgba(11, 78, 162, .12);
  font: 600 .68rem/1.4 Consolas, monospace;
  letter-spacing: .2em;
  white-space: nowrap;
  animation: portal-data-flow 14s ease-in-out infinite alternate;
}

.portal-data-stream-one {
  top: 23%;
  left: 2%;
  transform: rotate(-90deg);
}

.portal-data-stream-two {
  right: 3%;
  bottom: 9%;
  animation-delay: -6s;
}

.portal-circuit {
  position: absolute;
  width: 210px;
  height: 90px;
  opacity: .48;
  border-top: 1px solid rgba(11, 78, 162, .16);
  border-right: 1px solid rgba(11, 78, 162, .16);
  border-radius: 0 22px 0 0;

}

.portal-circuit-one {
  top: 42%;
  right: 5%;
}

.portal-circuit-two {
  bottom: 17%;
  left: 7%;
  transform: rotate(180deg);
}

.portal-circuit span {
  position: absolute;
  top: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f1bc16;
  box-shadow: 0 0 0 5px rgba(246, 201, 69, .1);
  animation: portal-node-pulse 2.8s ease-in-out infinite;
}

.portal-circuit span:nth-child(1) { left: 18%; }
.portal-circuit span:nth-child(2) { left: 53%; animation-delay: -.9s; }
.portal-circuit span:nth-child(3) { right: -5px; top: 52%; animation-delay: -1.8s; }

@keyframes portal-grid-drift {
  to { background-position: 36px 36px; }
}

@keyframes portal-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes portal-data-flow {
  from { opacity: .35; translate: -18px 0; }
  to { opacity: 1; translate: 18px 0; }
}

@keyframes portal-node-pulse {
  0%, 100% { transform: scale(.78); opacity: .45; }
  50% { transform: scale(1.15); opacity: 1; }
}

.portal-topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  min-height: 88px;
  margin-bottom: 28px;
}

.portal-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  padding: 6px 14px;
  border: 1px solid rgba(216, 230, 246, .82);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 13px 32px rgba(7, 59, 122, .08);
  backdrop-filter: blur(10px);
  transition: transform .22s ease, box-shadow .22s ease;
}


.portal-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 38px rgba(7, 59, 122, .13);
}

.portal-brand img {
  display: block;
  width: auto;
  height: 68px;
  object-fit: contain;
}

.portal-hero {
  padding-bottom: 52px;
}

.portal-language-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: #31557c;
  font-family: 'Kanit', sans-serif;
  font-size: .88rem;
}

.portal-language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #d8e6f6;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(11,78,162,.08);
}

.portal-language-switch a {
  min-width: 45px;
  padding: 5px 11px;
  border-radius: 999px;
  text-align: center;
  color: #57718d;
  font-size: .78rem;
  font-weight: 600;
}

.portal-language-switch a.is-active {
  color: #082f63;
  background: #f6c945;
}

.portal-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 13px;
  border: 1px solid #dce9fa;
  border-radius: 999px;
  color: #31557c;
  background: rgba(255,255,255,.88);
  font-family: 'Kanit', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  box-shadow: 0 8px 24px rgba(11,78,162,.07);
}

.portal-status-dot {
  width: 8px;

  height: 8px;
  border-radius: 50%;
  background: #16a36a;
  box-shadow: 0 0 0 5px rgba(22,163,106,.12);
}

.portal-overline {
  margin-bottom: 10px;
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
}

.portal-overline i {
  color: #e2ad08;
}

.portal-home h1 {
  position: relative;
  isolation: isolate;
  max-width: 900px;
  margin: 0;
  color: #072f63;
  font-size: clamp(2.45rem, 5.3vw, 5rem);
  line-height: 1.13;
  letter-spacing: -.035em;
}

.portal-home h1::before {
  position: absolute;
  z-index: -1;
  inset: -14px -18px;
  border-radius: 20px;
  content: "";
  opacity: .16;
  background: url('../../img/banner_small.png') center / cover no-repeat;
  pointer-events: none;
}

.portal-home h1 span {
  color: #0b4ea2;
}

.portal-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #58708b;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.portal-tech-panel {
  padding: 22px;
  border: 1px solid #d9e7f8;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 60px rgba(7,59,122,.12);
}

.portal-panel-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #31557c;
  font-family: 'Kanit', sans-serif;
  font-size: .8rem;
  font-weight: 600;
}

.portal-panel-live {
  color: #0b4ea2;
}

.portal-conference-host {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: -4px 0 12px;
  padding: 13px 15px;
  border: 1px solid #f0c15b;
  border-left: 5px solid #f5a800;
  border-radius: 13px;
  color: #0b3d75;
  background: linear-gradient(135deg, #fff8df 0%, #fffdf6 55%, #eef6ff 100%);
  box-shadow: 0 7px 18px rgba(11, 78, 162, .11);
  font-family: 'Kanit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.portal-conference-host i {
  flex: 0 0 auto;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #0b4ea2, #1677d2);
  box-shadow: 0 4px 10px rgba(11, 78, 162, .24);
  font-size: 1rem;
}

.portal-conference-host-name {
  min-width: 0;
}

.portal-important-dates {
  display: grid;
}

.portal-important-date {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 12px 0;

  border-top: 1px solid #eef3f9;
}

.portal-important-date > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #0b4ea2;
  background: #eaf3ff;
  font-size: 1.1rem;
}

.portal-important-date:nth-child(4) > i {
  color: #765900;
  background: #fff4cd;
}

.portal-important-date span,
.portal-important-date strong {
  display: block;
}

.portal-important-date span {
  margin-bottom: 2px;
  color: #72869d;
  font-size: .78rem;
}

.portal-important-date strong {
  color: #123b68;
  font-family: 'Kanit', sans-serif;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.35;
}

.portal-conference-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid #e2ebf5;
  border-radius: 12px;
  color: #617790;
  background: #f8fbff;
  font-size: .78rem;
}

.portal-conference-status > span {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
}

.portal-conference-status > span i {
  margin-right: 5px;
  color: #0b4ea2;
}

.portal-conference-status strong {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #536981;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  text-align: right;
}

.portal-conference-status strong > span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #8798aa;
  box-shadow: 0 0 0 4px rgba(135, 152, 170, .12);
}

.portal-conference-status strong.is-open {
  color: #08784f;
}

.portal-conference-status strong.is-open > span {
  background: #16a36a;
  box-shadow: 0 0 0 4px rgba(22, 163, 106, .12);
}

.portal-conference-status strong.is-closed {
  color: #b4232c;
}

.portal-conference-status strong.is-closed > span {
  background: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, .12);
}

.portal-metric {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #eef3f9;
}

.portal-metric > i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #0b4ea2;
  background: #eaf3ff;
  font-size: 1.25rem;
}

.portal-metric strong,
.portal-metric small {
  display: block;
}

.portal-metric strong {
  color: #123b68;
  font-family: 'Kanit', sans-serif;
}

.portal-metric small {
  color: #7b8ea4;
}


.portal-code-line {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 11px;
  color: #d8e8ff;
  background: #072f63;
  font: 500 .72rem/1.4 Consolas, monospace;
}

.portal-code-line span {
  color: #f6c945;
}

.portal-role-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
  padding-top: 30px;
  border-top: 1px solid #dfebf8;
}

.portal-role-heading span {
  color: #e2ad08;
  font-family: 'Kanit', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.portal-role-heading h2 {
  margin: 5px 0 0;
  color: #082f63;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.portal-role-heading h2 i {
  color: #0b4ea2;
}

.portal-role-heading p {
  margin: 0;
  color: #71869e;
}

.portal-role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  height: 100%;
  padding: 26px;
  overflow: hidden;
  border: 1px solid #dbe7f5;
  border-radius: 22px;
  color: #49647f;
  background: #fff;
  box-shadow: 0 16px 38px rgba(7,59,122,.08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.portal-role-card::after {
  content: '';
  position: absolute;
  right: -54px;
  bottom: -70px;
  width: 160px;
  height: 160px;

  border: 26px solid rgba(11,78,162,.04);
  border-radius: 50%;
}

.portal-role-card:hover {
  color: #49647f;
  transform: translateY(-7px);
  border-color: #9fc2ee;
  box-shadow: 0 26px 58px rgba(7,59,122,.15);
}

.portal-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 28px;
}

.portal-role-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0b4ea2, #073b7a);
  font-size: 1.75rem;
  box-shadow: 0 12px 24px rgba(11,78,162,.22);
}

.portal-role-number {
  color: #d7e4f2;
  font: 700 2rem/1 'Kanit', sans-serif;
}

.portal-role-eyebrow {
  color: #0b4ea2;
  font: 600 .72rem/1.4 'Kanit', sans-serif;
  letter-spacing: .1em;
}

.portal-role-card h3 {
  margin: 8px 0 10px;
  color: #0a376d;
  font-size: 1.45rem;
}

.portal-role-card p {
  margin-bottom: 24px;
}

.portal-card-action {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e7eef7;
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
}

.portal-card-action i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;

  border-radius: 50%;
  background: #edf5ff;
}

.portal-role-reviewer .portal-role-icon {
  color: #082f63;
  background: linear-gradient(135deg, #ffd85d, #f2b807);
  box-shadow: 0 12px 24px rgba(226,173,8,.22);
}

.portal-role-admin .portal-role-icon {
  background: linear-gradient(135deg, #16365b, #071e3a);
}

.portal-bottom-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 16px 20px;
  border: 1px solid #e0ebf7;
  border-radius: 15px;
  color: #607892;
  background: rgba(255,255,255,.75);
}

.portal-bottom-bar i {
  margin-right: 7px;
  color: #0b4ea2;
}

@media (max-width: 991px) {
  .portal-home { padding-top: 26px; }
  .portal-orbit-one { right: -260px; opacity: .72; }
  .portal-role-heading,
  .portal-bottom-bar { align-items: start; flex-direction: column; }
}

@media (max-width: 575px) {
  .portal-home { padding: 18px 0 40px; }
  .portal-topbar { min-height: 66px; margin-bottom: 24px; }
  .portal-brand { min-height: 58px; padding: 5px 9px; border-radius: 14px; }
  .portal-brand img { height: 48px; }
  .portal-language-bar > span { display: none; }
  .portal-orbit-one { top: 10%; right: -330px; }
  .portal-orbit-two,
  .portal-data-stream-one,
  .portal-circuit-two { display: none; }
  .portal-home h1 { font-size: 2.35rem; }
  .portal-role-card { min-height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-grid,
  .portal-orbit,
  .portal-data-stream,
  .portal-circuit span {
    animation: none !important;
  }
}

/* Reviewer summary report */
.reviewer-report-modern {
  min-height: 100vh;
  padding: 118px 0 60px;
  background:
    radial-gradient(circle at 94% 8%, rgba(255, 202, 40, 0.13), transparent 24%),
    linear-gradient(rgba(17, 87, 166, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 87, 166, 0.035) 1px, transparent 1px),
    #f7faff;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.reviewer-report-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: 1.35rem;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 213, 73, 0.3), transparent 28%),
    linear-gradient(125deg, #073e83, #0d6cba);
  box-shadow: 0 22px 50px rgba(11, 78, 162, 0.2);
}

.reviewer-report-kicker {
  color: #ffda63;
  font-family: "Kanit", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.reviewer-report-hero h1 {
  margin: 0.4rem 0 0.25rem;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.reviewer-report-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.reviewer-report-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.reviewer-report-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.7rem;
  font-family: "Kanit", sans-serif;
}

.reviewer-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.reviewer-metric-card {
  --report-tone: #0b67b2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(24, 73, 121, 0.1);
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 9px 24px rgba(32, 59, 92, 0.065);
}

.reviewer-metric-card > span {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  place-items: center;
  border-radius: 0.75rem;
  color: var(--report-tone);
  background: color-mix(in srgb, var(--report-tone) 12%, white);
}

.reviewer-metric-card > div {
  display: grid;
  min-width: 0;
}

.reviewer-metric-card small {
  overflow: hidden;
  color: #718096;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reviewer-metric-card strong {
  color: #183f6b;
  font-family: "Kanit", sans-serif;
  font-size: 1.4rem;
  line-height: 1.15;
}

.reviewer-report-modern .tone-blue { --report-tone: #0b67b2; }
.reviewer-report-modern .tone-green { --report-tone: #15985b; }
.reviewer-report-modern .tone-cyan { --report-tone: #0aa6b6; }
.reviewer-report-modern .tone-violet { --report-tone: #7357c7; }
.reviewer-report-modern .tone-amber { --report-tone: #c58a00; }
.reviewer-report-modern .tone-rose { --report-tone: #d44e6b; }

.reviewer-filter-panel {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(24, 73, 121, 0.11);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(32, 59, 92, 0.06);
}

.reviewer-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e4ebf3;
}

.reviewer-filter-heading > div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #0b67b2;
  font-family: "Kanit", sans-serif;
  font-weight: 600;
}

.reviewer-filter-heading small {
  color: #718096;
}

.reviewer-filter-panel label {
  margin-bottom: 0.3rem;
  color: #294b70;
  font-family: "Kanit", sans-serif;
  font-size: 0.86rem;
}

.reviewer-filter-panel .form-control {
  min-height: 44px;
  border-color: #d8e3ef;
  border-radius: 0.65rem;
}

.reviewer-input-icon {
  position: relative;
}

.reviewer-input-icon > i {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  z-index: 2;
  color: #8293a8;
  transform: translateY(-50%);
}

.reviewer-input-icon .form-control {
  padding-left: 2.45rem;
}

.reviewer-filter-buttons {
  display: flex;
  gap: 0.45rem;
}

.reviewer-filter-buttons .btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.65rem;
}

.reviewer-filter-buttons .btn-primary {
  flex: 1;
}

.reviewer-report-card {
  overflow: hidden;
  border: 1px solid rgba(24, 73, 121, 0.11);
  border-radius: 1.05rem;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(32, 59, 92, 0.08);
}

.reviewer-report-card-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem 0.85rem;
}

.reviewer-report-card-heading span {
  color: #c58a00;
  font-family: "Kanit", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.reviewer-report-card-heading h2 {
  margin: 0.1rem 0 0;
  color: #183f6b;
  font-size: 1.35rem;
}

.reviewer-result-count {
  color: #718096;
}

.reviewer-table-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 1.2rem 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d7e7f8;
  border-radius: 0.65rem;
  color: #3e5f82;
  background: #f0f7ff;
}

.reviewer-table-note i {
  color: #0b67b2;
}

.reviewer-table-wrap {
  max-height: 68vh;
  border-top: 1px solid #dde6f0;
  border-bottom: 1px solid #dde6f0;
}

.reviewer-summary-table {
  min-width: 1580px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.reviewer-summary-table th,
.reviewer-summary-table td {
  min-width: 72px;
  padding: 0.7rem 0.65rem;
  border-right: 1px solid #e2e9f1;
  border-bottom: 1px solid #e2e9f1;
  text-align: center;
  vertical-align: middle;
}

.reviewer-summary-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  color: #ffffff;
  background: #315a88;
  font-family: "Kanit", sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
}

.reviewer-summary-table thead tr:nth-child(2) th {
  top: 49px;
  background: #3c6a99;
}

.reviewer-summary-table thead .reviewer-role-group {
  background: #0b67b2;
}

.reviewer-summary-table thead .reviewer-track-group {
  background: #17825c;
}

.reviewer-summary-table .reviewer-col-number {
  left: 0;
  width: 54px;
  min-width: 54px;
  position: sticky;
  z-index: 4;
  background: #f8fbff;
}

.reviewer-summary-table .reviewer-col-affiliate {
  left: 54px;
  width: 320px;
  min-width: 320px;
  position: sticky;
  z-index: 4;
  text-align: left;
  background: #ffffff;
  box-shadow: 6px 0 10px rgba(28, 59, 97, 0.045);
}

.reviewer-summary-table thead .reviewer-col-number,
.reviewer-summary-table thead .reviewer-col-affiliate {
  z-index: 8;
  color: #ffffff;
  background: #183f6b;
}

.reviewer-summary-table tbody tr:nth-child(even) td,
.reviewer-summary-table tbody tr:nth-child(even) .reviewer-col-affiliate,
.reviewer-summary-table tbody tr:nth-child(even) .reviewer-col-number {
  background: #f8fbff;
}

.reviewer-summary-table tbody tr:hover td,
.reviewer-summary-table tbody tr:hover .reviewer-col-affiliate,
.reviewer-summary-table tbody tr:hover .reviewer-col-number {
  background: #fff9e6;
}

.reviewer-affiliate-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.reviewer-affiliate-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  place-items: center;
  border-radius: 0.65rem;
  color: #0b67b2;
  background: #eaf4ff;
}

.reviewer-affiliate-name > div {
  display: grid;
  gap: 0.2rem;
}

.reviewer-affiliate-name strong {
  color: #294b70;
  line-height: 1.25;
}

.reviewer-affiliate-name small {
  width: fit-content;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-family: "Kanit", sans-serif;
  font-size: 0.66rem;
}

.reviewer-affiliate-name .is-mou {
  color: #08704a;
  background: #dcf8ec;
}

.reviewer-affiliate-name .is-non-mou {
  color: #8a6200;
  background: #fff1c7;
}

.reviewer-number {
  color: #536b85;
  font-family: "Kanit", sans-serif;
  font-weight: 500;
}

.reviewer-primary-number {
  color: #0b67b2;
  font-size: 1rem;
}

.reviewer-coordinator-number {
  color: #c14c68;
}

.reviewer-all-track-number {
  color: #7357c7;
}

.reviewer-track-number.has-value {
  color: #08704a;
  background: #f0fbf7;
}

.reviewer-summary-table tfoot th {
  position: sticky;
  bottom: 0;
  z-index: 6;
  color: #ffffff;
  background: #183f6b;
  font-family: "Kanit", sans-serif;
}

.reviewer-empty-state {
  padding: 3rem !important;
  color: #718096;
}

.reviewer-empty-state i,
.reviewer-empty-state strong,
.reviewer-empty-state span {
  display: block;
}

.reviewer-empty-state i {
  margin-bottom: 0.5rem;
  color: #a7b6c7;
  font-size: 2rem;
}

.reviewer-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 1rem;
}

.reviewer-pagination a {
  display: grid;
  min-width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid #d5e0ec;
  border-radius: 0.55rem;
  color: #47637f;
  background: #ffffff;
}

.reviewer-pagination a:hover,
.reviewer-pagination a.is-active {
  border-color: #0b67b2;
  color: #ffffff;
  background: #0b67b2;
}

@media (max-width: 1199.98px) {
  .reviewer-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .reviewer-report-modern {
    padding-top: 98px;
  }

  .reviewer-report-hero,
  .reviewer-filter-heading,
  .reviewer-report-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviewer-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviewer-report-actions {
    width: 100%;
  }

  .reviewer-report-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .reviewer-metric-grid {
    grid-template-columns: 1fr;
  }

  .reviewer-filter-buttons .btn-primary {
    flex: 1;
  }

  .reviewer-summary-table .reviewer-col-affiliate {
    width: 250px;
    min-width: 250px;
  }
}

/*--------------------------------------------------------------
# AUCC Sign-in Theme
--------------------------------------------------------------*/
.signin-shell,
.role-missing {
  position: relative;
  min-height: calc(100vh - 90px);
  padding: 120px 0 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(11,78,162,.1), transparent 25rem),
    radial-gradient(circle at 90% 85%, rgba(246,201,69,.13), transparent 25rem),
    #f8fbff;
}

.signin-grid {
  position: absolute;
  inset: 0;
  opacity: .46;
  background-image:
    linear-gradient(rgba(11,78,162,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,78,162,.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.signin-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #42617f;
  font-family: 'Kanit', sans-serif;
  font-size: .9rem;
}

.signin-back:hover {
  color: #0b4ea2;
}

.signin-frame {
  overflow: hidden;
  border: 1px solid #dce8f5;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7,59,122,.14);
}

.signin-context {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: 50px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(246,201,69,.28), transparent 20rem),
    linear-gradient(145deg, #0b4ea2, #062d5f);
}

.signin-context::before,
.signin-context::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}

.signin-context::before {
  right: -110px;
  bottom: -105px;
  width: 330px;
  height: 330px;
}

.signin-context::after {
  right: -35px;
  bottom: -30px;
  width: 180px;
  height: 180px;
}

.signin-system-label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 58px;
  color: #dbe9fb;
  font: 600 .78rem/1.4 'Kanit', sans-serif;
  letter-spacing: .1em;
}

.signin-system-label i {
  color: #f6c945;
}

.signin-role-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 21px;
  color: #082f63;
  background: #f6c945;
  font-size: 2rem;
  box-shadow: 0 18px 36px rgba(0,0,0,.16);
}

.signin-role-code {
  margin: 0 0 7px;
  color: #f6c945;
  font: 600 .76rem/1.4 'Kanit', sans-serif;
  letter-spacing: .12em;
}

.signin-context h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.signin-role-description {
  max-width: 460px;
  margin: 17px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 1.05rem;
}

.signin-feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
}

.signin-feature-list > div {
  display: flex;
  gap: 11px;
  align-items: center;
  color: rgba(255,255,255,.86);
}

.signin-feature-list i {
  color: #f6c945;
}

.signin-form-side {
  display: grid;
  place-items: center;
  padding: 48px;
  background: #fff;
}

.signin-form-wrap {
  width: 100%;
  max-width: 460px;
}

.signin-form-heading > span {
  color: #e2ad08;
  font: 700 .75rem/1.4 'Kanit', sans-serif;
  letter-spacing: .14em;
}

.signin-form-heading h2 {
  margin: 6px 0;
  color: #082f63;
  font-size: 2rem;
}

.signin-form-heading h2 i {
  color: #0b4ea2;
}

.signin-form-heading p {
  margin-bottom: 28px;
  color: #7890a8;
}

.signin-inline-alert {
  display: flex;
  gap: 10px;
  align-items: start;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #b8d5f5;
  border-radius: 12px;
  color: #174f88;
  background: #edf6ff;
}

.signin-inline-alert.is-danger {
  color: #963c43;
  border-color: #f1c9cd;
  background: #fff2f3;
}

.signin-inline-alert.is-warning {
  color: #72580a;
  border-color: #f0d879;
  background: #fff9e1;
}

.signin-field {
  margin-bottom: 20px;
}

.signin-field label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 7px;
  color: #173f6b;
  font-weight: 500;
}

.signin-field label i {
  color: #0b4ea2;
}

.signin-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signin-label-row a {
  color: #0b4ea2;
  font-size: .88rem;
}

.signin-input {
  position: relative;
}

.signin-input > i {
  position: absolute;
  top: 50%;
  left: 16px;
  color: #7894b1;
  transform: translateY(-50%);
}

.signin-input input {
  width: 100%;
  height: 54px;
  padding: 0 48px 0 45px;
  border: 1px solid #cfdeed;
  border-radius: 13px;
  outline: none;
  color: #17324d;
  background: #fbfdff;
  font-family: 'Sarabun', sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.signin-input input:focus {
  border-color: #4a8bd4;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11,78,162,.1);
}

.signin-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  color: #607d9a;
  background: transparent;
  transform: translateY(-50%);
}

.signin-password-toggle:hover {
  color: #0b4ea2;
  background: #edf5ff;
}

.signin-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin-top: 28px;
  padding: 0 19px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(110deg, #0b4ea2, #073b7a);
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  box-shadow: 0 13px 28px rgba(11,78,162,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.signin-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(11,78,162,.28);
}
.signin-google-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
  color: #8a9bad;
  font-size: .82rem;
}

.signin-google-divider::before,
.signin-google-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2eaf3;
}

.signin-google {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#googleSigninButton,
#googleSigninButton > div {
  width: 100%;
  max-width: 400px;
}

.signin-google-status {
  min-height: 20px;
  margin-top: 9px;
  color: #5f7388;
  font-size: .82rem;
  text-align: center;
}

.signin-google-status.is-error {
  color: #c0392b;
}

.signin-google-status.is-loading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 7px;
  border: 2px solid #b9c8d8;
  border-top-color: #0b4ea2;
  border-radius: 50%;
  vertical-align: -1px;
  animation: google-registration-spin .7s linear infinite;
}


.signin-reviewer .signin-role-icon {
  background: #f6c945;
}

.signin-admin .signin-context {
  background:
    radial-gradient(circle at 100% 0, rgba(246,201,69,.2), transparent 20rem),
    linear-gradient(145deg, #15385e, #061b34);
}

.signin-register {
  margin-top: 22px;
  text-align: center;
  color: #7890a8;
}

.signin-register a {
  margin-left: 5px;
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
}

.signin-secure-note {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5edf6;
  color: #8093a7;
  font-size: .85rem;
}

.signin-secure-note i {
  color: #16a36a;
}

.role-missing {
  display: grid;
  place-items: center;
}

.role-missing-card {
  max-width: 650px;
  margin: auto;
  padding: 46px;
  border: 1px solid #dbe7f5;
  border-radius: 24px;
  text-align: center;
  background: #fff;
  box-shadow: 0 24px 65px rgba(7,59,122,.12);
}

.role-missing-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 22px;
  color: #082f63;
  background: #f6c945;
  font-size: 2rem;
}

.role-missing-card > p {
  color: #0b4ea2;
  font: 600 .76rem/1.4 'Kanit', sans-serif;
  letter-spacing: .12em;
}

.role-missing-card > span {
  display: block;
  color: #71869e;
}

@media (max-width: 991px) {
  .signin-context { min-height: 500px; padding: 38px; }
  .signin-system-label { margin-bottom: 38px; }
  .signin-form-side { padding: 38px 24px; }
}

@media (max-width: 575px) {
  .signin-shell,
  .role-missing { padding: 106px 0 38px; }
  .signin-context { min-height: 460px; padding: 30px 24px; }
  .signin-form-side { padding: 32px 20px; }
  .signin-label-row { align-items: start; flex-direction: column; }
  .role-missing-card { padding: 34px 22px; }
}

/*--------------------------------------------------------------
# AUCC Conference Management Theme
--------------------------------------------------------------*/
.conf-admin {
  min-height: 75vh;
  padding: 64px 0;
  background: #f6f9fd;
}
.conf-admin-heading,
.conf-editor-title,
.conf-list-heading,
.conf-editor-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.conf-admin-heading { margin-bottom: 28px; }
.conf-admin-heading h1 { margin: 5px 0; font-size: 2.25rem; }
.conf-admin-heading p,
.conf-list-heading span { margin: 0; color: #71869e; }
.conf-admin-kicker,
.conf-editor-title > div > span {
  color: #0b4ea2;
  font: 700 .75rem/1.4 'Kanit', sans-serif;
  letter-spacing: .1em;
}
.conf-editor,
.conf-list {
  margin-bottom: 30px;
  padding: 28px;
  border: 1px solid #dbe6f3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(7,59,122,.08);
}
.conf-editor-title { padding-bottom: 20px; border-bottom: 1px solid #e7eef7; }
.conf-editor-title h2 { margin: 5px 0 0; }
.conf-section { padding: 28px 0; border-bottom: 1px solid #e7eef7; }
.conf-section h3 { margin-bottom: 18px; font-size: 1.25rem; }
.conf-section h3 i { color: #0b4ea2; }
.conf-section label { display: block; margin-bottom: 6px; color: #31557c; font-size: .9rem; }
.conf-section .form-control { border-radius: 10px; border-color: #cfdeed; }
.conf-period-table { overflow: hidden; border: 1px solid #dce7f3; border-radius: 14px; }
.conf-period-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #e7eef7;
}
.conf-period-row:last-child { border-bottom: 0; }
.conf-period-name { display: flex !important; gap: 10px; align-items: center; margin: 0 !important; }
.conf-period-row small { display: block; color: #7890a8; }
.conf-feature {
  display: flex !important;
  gap: 12px;
  align-items: center;
  min-height: 84px;
  margin: 0 !important;
  padding: 14px;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  cursor: pointer;
  background: #fbfdff;
}
.conf-feature > input { position: absolute; opacity: 0; }
.conf-feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #0b4ea2;
  background: #eaf3ff;
  font-size: 1.2rem;
}
.conf-feature strong,
.conf-feature small { display: block; }
.conf-feature small { color: #8497ab; }
.conf-feature-check { margin-left: auto; color: #c9d5e2; }
.conf-feature:has(input:checked) { border-color: #79a9df; background: #f1f7ff; }
.conf-feature:has(input:checked) .conf-feature-check { color: #16a36a; }
.conf-editor-actions { justify-content: flex-end; padding-top: 24px; }
.conf-list-heading { margin-bottom: 18px; }
.conf-list-heading h2 { margin: 0; font-size: 1.35rem; }
.conf-edition-name { display: flex; gap: 12px; align-items: center; min-width: 320px; }
.conf-edition-year {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 14px;
  color: #fff;
  background: #0b4ea2;
  font: 600 .9rem 'Kanit', sans-serif;
}
.conf-edition-name strong,
.conf-edition-name small { display: block; }
.conf-edition-name small { max-width: 440px; color: #71869e; }
.conf-date { display: block; color: #174f88; }
.conf-status,
.conf-active,
.conf-feature-count {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #31557c;
  background: #edf3f9;
  font-size: .78rem;
  font-weight: 600;
}
.conf-status-open { color: #08784c; background: #e5f8ef; }
.conf-status-archived { color: #6d7782; background: #eceff2; }
.conf-active { margin-left: 5px; color: #6b5100; background: #fff2b7; }
@media (max-width: 767px) {
  .conf-admin-heading,
  .conf-editor-title,
  .conf-list-heading { align-items: stretch; flex-direction: column; }
  .conf-period-row { grid-template-columns: 1fr; }
  .conf-editor,
  .conf-list { padding: 20px; }
}
/* Registration email availability and verification flow */
.email-availability-feedback {
  min-height: 1.4rem;
  margin-top: .4rem;
  font-size: .92rem;
  font-weight: 600;
}

.email-availability-feedback.is-checking { color: #536b82; }
.email-availability-feedback.is-available { color: #16834c; }
.email-availability-feedback.is-unavailable { color: #c33636; }
/* Google Identity signup */
.google-registration-card {
  display: grid;
  gap: 14px;
  margin: 0 auto 18px;
  padding: 18px;
  border: 1px solid #d7e1ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 65, 105, .08);
}

.google-registration-heading,
.google-registration-card.is-connected {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-registration-card.is-connected {
  position: relative;
  border-color: #a9d8bf;
  background: linear-gradient(135deg, #f1fff7, #fff);
}

.google-registration-avatar,
.google-registration-card.is-connected > img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
}

.google-registration-avatar {
  display: grid;
  place-items: center;
  border: 1px solid #d8e0e8;
  color: #4285f4;
  background: #fff;
  font-size: 1.25rem;
}

.google-registration-card.is-connected > img {
  object-fit: cover;
}

.google-registration-heading strong,
.google-registration-copy strong,
.google-registration-heading small,
.google-registration-copy span,
.google-registration-copy small {
  display: block;
}

.google-registration-heading strong,
.google-registration-copy strong {
  color: #173d66;
  font-family: 'Kanit', sans-serif;
}

.google-registration-heading small,
.google-registration-copy small {
  margin-top: 2px;
  color: #6b7f94;
}

.google-registration-copy {
  min-width: 0;
  flex: 1;
}

.google-registration-copy strong {
  color: #137446;
}

.google-registration-copy span {
  overflow: hidden;
  margin-top: 2px;
  color: #274b70;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-registration-button {
  min-height: 44px;
}

.google-registration-button > div {
  margin: 0 auto;
}

.google-registration-status {
  min-height: 1.25rem;
  color: #536b82;
  font-size: .88rem;
  text-align: center;
}

.google-registration-status.is-loading::before {
  display: inline-block;
  width: .8rem;
  height: .8rem;
  margin-right: 6px;
  border: 2px solid #aac4df;
  border-top-color: #0b67b2;
  border-radius: 50%;
  content: "";
  vertical-align: -.08rem;
  animation: google-registration-spin .7s linear infinite;
}

.google-registration-status.is-error {
  color: #b3261e;
}

.google-registration-change {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 8px;
  color: #0b67b2;
  background: #e8f3ff;
  font-size: .85rem;
  font-weight: 700;
}

.registration-choice-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
  color: #7a8da1;
  font-size: .84rem;
  text-align: center;
}

.registration-choice-divider::before,
.registration-choice-divider::after {
  height: 1px;
  flex: 1;
  content: "";
  background: #dce5ee;
}

#registrationForm input[data-google-verified="1"] {
  color: #17633f;
  background: #effbf4;
  font-weight: 600;
}

@keyframes google-registration-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 575.98px) {
  .google-registration-card.is-connected {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .google-registration-change {
    margin-left: 62px;
  }
}


.verification-shell {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(17, 96, 190, .12), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(255, 194, 31, .16), transparent 24rem),
    #fff;
}

.verification-card {
  width: min(100%, 660px);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(16, 74, 132, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(11, 55, 98, .14);
  text-align: center;
}

.verification-card h1 {
  margin: .4rem 0 1rem;
  color: var(--theme-primary, #0b4ea2);
  font-size: clamp(1.8rem, 5vw, 2.65rem);
}

.verification-card > p:not(.verification-kicker) {
  color: #52677b;
  font-size: 1.12rem;
}

.verification-kicker {
  margin: 1.1rem 0 0;
  color: #71859a;
  font-family: Kanit, sans-serif;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.verification-icon {
  display: inline-grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 24px;
  font-size: 2.4rem;
}

.verification-icon-success { background: #e9f8f0; color: #16834c; }
.verification-icon-info { background: #e9f2fd; color: #1160be; }
.verification-icon-warning { background: #fff6d9; color: #a16a00; }
.verification-icon-danger { background: #ffeded; color: #c33636; }

.verification-email {
  margin: 1.5rem auto;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: #eef5fc;
  color: #174d82;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.verification-actions {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.verification-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.3rem;
  border-radius: 11px;
}

.verification-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.verification-links a {
  color: var(--theme-primary, #0b4ea2);
  font-weight: 700;
  text-decoration: none;
}

.verification-links a:hover { text-decoration: underline; }
.verification-note { padding: .8rem; border-radius: 10px; background: #f4f7fa; }

/* User dashboard: white digital workspace */
.user-home-modern.user-dashboard-white {
  position: relative;
  min-height: calc(100vh - 70px);
  padding: 92px 0 54px;
  overflow: hidden;
  color: #183b60;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(11, 78, 162, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 78, 162, .035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.user-dashboard-white::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(20, 103, 201, .12), transparent 24rem),
    radial-gradient(circle at 92% 20%, rgba(255, 197, 37, .14), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,.35), #fff 64%);
}

.user-dashboard-container {
  position: relative;
  z-index: 2;
}

.user-dashboard-orb {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(11, 78, 162, .11);
  border-radius: 50%;
  pointer-events: none;
  animation: userDashboardFloat 9s ease-in-out infinite;
}

.user-dashboard-orb::before,
.user-dashboard-orb::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.user-dashboard-orb::before {
  inset: 18%;
  border: 1px dashed rgba(11, 78, 162, .16);
}

.user-dashboard-orb::after {
  width: 9px;
  height: 9px;
  top: 8%;
  left: 50%;
  background: #ffc629;
  box-shadow: 0 0 18px rgba(255, 198, 41, .65);
}

.user-dashboard-orb-one { width: 260px; height: 260px; top: 110px; right: -120px; }
.user-dashboard-orb-two { width: 160px; height: 160px; bottom: 90px; left: -80px; animation-delay: -3s; }

@keyframes userDashboardFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(9deg); }
}

.user-dashboard-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}

.user-dashboard-topbar > div > span,
.user-dashboard-topbar small {
  display: block;
}

.user-dashboard-topbar > div > span {
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .11em;
}

.user-dashboard-topbar small {
  margin-top: 3px;
  color: #71859a;
  font-size: .9rem;
}

.user-dashboard-topbar > a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid #d9e5f2;
  border-radius: 999px;
  color: #31557c;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(20, 61, 101, .06);
}

.user-dashboard-topbar > a:hover {
  border-color: #f0b9b9;
  color: #bd2d2d;
  background: #fff6f6;
  text-decoration: none;
}

.user-dashboard-white .user-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .75fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #dce8f5;
  border-radius: 25px;
  color: #183b60;
  background:
    linear-gradient(120deg, rgba(236, 246, 255, .96), rgba(255, 255, 255, .98) 58%, rgba(255, 249, 229, .9));
  box-shadow: 0 24px 65px rgba(16, 66, 116, .11);
}

.user-dashboard-white .user-home-hero::before {
  position: absolute;
  width: 145px;
  height: 145px;
  top: -44px;
  right: 30%;
  border: 1px solid rgba(11, 78, 162, .11);
  border-radius: 50%;
  content: "";
}

.user-account-active {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 12px;
  color: #15814b;
  font-family: 'Kanit', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.user-dashboard-white .home-kicker {
  display: block;
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
}

.user-welcome-text {
  margin: 10px 0 2px;
  color: #657b91;
  font-size: 1rem;
}

.user-dashboard-white .user-home-hero h1 {
  margin: 3px 0 5px;
  color: #123b68;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.user-dashboard-white .home-subname {
  margin: 0 0 14px;
  color: #6e8296;
}

.user-dashboard-white .registration-chip {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 7px 16px rgba(18, 59, 104, .12);
}

.user-dashboard-white .change-type-btn {
  margin-left: 8px;
  padding: 7px 12px;
  border: 1px solid #cdddec;
  border-radius: 999px;
  color: #31557c;
  background: #fff;
  font-weight: 700;
}

.user-dashboard-white .change-type-btn:hover {
  border-color: #93b9df;
  color: #0b4ea2;
  background: #f3f8fd;
}

.user-dashboard-white .home-quick-status {
  position: relative;
  min-width: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  align-self: center;
  padding: 21px;
  border: 1px solid #d8e6f4;
  border-radius: 18px;
  color: #183b60;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 36px rgba(22, 72, 123, .09);
  backdrop-filter: blur(8px);
}

.user-quick-icon {
  flex: 0 0 52px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: #0b4ea2;
  background: #eaf3fd;
  font-size: 1.45rem;
}

.user-dashboard-white .home-quick-status > span {
  position: absolute;
  top: 17px;
  left: 87px;
  color: #7a8da1;
  font-size: .78rem;
}

.user-dashboard-white .home-account-line {
  min-width: 0;
  display: block;
  margin: 18px 0 0;
}

.user-dashboard-white .home-account-line strong {
  color: #123b68;
  font-size: .92rem;
  overflow-wrap: anywhere;
}

.user-dashboard-white .home-signout-btn {
  display: none;
}

.user-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 34px;
  border: 1px solid #e0eaf4;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 13px 35px rgba(23, 67, 109, .07);
}

.user-dashboard-summary > div {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 17px 20px;
}

.user-dashboard-summary > div + div {
  border-left: 1px solid #e5edf5;
}

.user-dashboard-summary > div > i {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #0b4ea2;
  background: #edf5fd;
  font-size: 1.05rem;
}

.user-dashboard-summary span,
.user-dashboard-summary strong {
  display: block;
  min-width: 0;
}

.user-dashboard-summary span {
  color: #8091a3;
  font-family: 'Kanit', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
}

.user-dashboard-summary strong {
  margin-top: 2px;
  color: #234b74;
  font-size: .87rem;
  overflow-wrap: anywhere;
}

.user-workspace-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.user-workspace-heading span {
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.user-workspace-heading h2 {
  margin: 3px 0 0;
  color: #123b68;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.user-workspace-heading h2 i {
  color: #e5a900;
}

.user-workspace-heading p {
  max-width: 430px;
  margin: 0;
  color: #708397;
  text-align: right;
}

.user-dashboard-white .row.g-4 {
  row-gap: 24px;
}

.user-dashboard-white .home-action-card {
  position: relative;
  min-height: 182px;
  gap: 17px;
  padding: 25px 22px 21px;
  overflow: hidden;
  border: 1px solid #dfe9f3;
  border-radius: 18px;
  color: #183b60;
  background: rgba(255,255,255,.98);
  box-shadow: 0 13px 35px rgba(24, 67, 108, .08);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.user-dashboard-white .home-action-card::after {
  position: absolute;
  width: 90px;
  height: 90px;
  right: -42px;
  bottom: -45px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .08;
}

.user-dashboard-white .home-action-card:hover {
  border-color: #bcd4eb;
  color: #183b60;
  box-shadow: 0 20px 45px rgba(20, 70, 119, .14);
  transform: translateY(-5px);
}

.user-dashboard-white .home-action-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(14, 64, 111, .15);
}

.user-dashboard-white .home-action-card h3 {
  margin: 1px 0 7px;
  color: #123b68;
  font-family: 'Kanit', sans-serif;
  font-size: 1.13rem;
}

.user-dashboard-white .home-action-card p {
  color: #6b7f93;
  line-height: 1.5;
}

.home-action-number {
  position: absolute;
  top: 13px;
  right: 16px;
  color: #a8b8c8;
  font-family: 'Kanit', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.home-action-open {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 13px;
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-size: .78rem;
  font-weight: 600;
}

.user-dashboard-white .home-action-card:hover .home-action-open i {
  transform: translateX(3px);
}

.home-action-open i {
  transition: transform .2s ease;
}

.user-dashboard-white .home-action-card.is-disabled,
.user-dashboard-white .home-action-card.is-disabled:hover {
  border-color: #e7edf3;
  background: #f8fafc;
  box-shadow: none;
  opacity: .68;
  transform: none;
}

.user-dashboard-white .disabled-note {
  margin-top: 12px;
  color: #b33c3c;
  font-size: .78rem;
}

.user-dashboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #e2ebf4;
  color: #8192a3;
  font-size: .82rem;
}

.user-dashboard-footer span:first-child {
  color: #31557c;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
}

.user-role-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(11, 49, 87, .22);
}

.user-role-modal .modal-header {
  color: #123b68;
  background: linear-gradient(120deg, #edf6ff, #fff9e6);
}

.user-role-modal .modal-title {
  font-family: 'Kanit', sans-serif;
}

@media (max-width: 991px) {
  .user-dashboard-white .user-home-hero {
    grid-template-columns: 1fr;
  }

  .user-dashboard-white .home-quick-status {
    width: 100%;
  }

  .user-dashboard-summary {
    grid-template-columns: 1fr;
  }

  .user-dashboard-summary > div + div {
    border-top: 1px solid #e5edf5;
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .user-home-modern.user-dashboard-white {
    padding: 82px 0 38px;
  }

  .user-dashboard-topbar,
  .user-workspace-heading,
  .user-dashboard-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .user-dashboard-topbar > a {
    position: absolute;
    top: 0;
    right: 15px;
  }

  .user-dashboard-white .user-home-hero {
    padding: 24px 20px;
    border-radius: 19px;
  }

  .user-dashboard-white .user-home-hero h1 {
    font-size: 2rem;
  }

  .user-dashboard-white .change-type-btn {
    margin: 9px 0 0;
  }

  .user-workspace-heading p {
    text-align: left;
  }

  .user-dashboard-white .home-action-card {
    min-height: 162px;
    padding: 22px 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-dashboard-orb {
    animation: none;
  }
}

/* Readable Sarabun navigation and signed-in user shortcuts */
.nav-menu a,
.mobile-nav a {
  font-family: 'Sarabun', 'TH Sarabun New', sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.nav-menu .drop-down ul a,
.mobile-nav .drop-down ul a {
  font-family: 'Sarabun', 'TH Sarabun New', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.nav-menu > ul > li {
  padding-left: 14px;
}

.nav-menu .aucc-nav-quick > a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-left: 2px;
  padding: 9px 13px;
  border-radius: 10px;
  text-decoration: none;
}

.nav-menu .aucc-nav-home > a {
  border: 1px solid rgba(255,255,255,.6);
  color: #0b4ea2;
  background: #fff;
}

.nav-menu .aucc-nav-home > a:hover {
  border-color: #fff;
  color: #07366f;
  background: #edf6ff;
}

.nav-menu .aucc-nav-signout > a {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  background: rgba(161, 31, 31, .78);
}

.nav-menu .aucc-nav-signout > a:hover {
  border-color: #ffd4d4;
  color: #fff;
  background: #b52222;
}

.mobile-nav .aucc-nav-home > a {
  color: #0b4ea2;
  font-weight: 700;
}

.mobile-nav .aucc-nav-signout > a {
  color: #b52222;
  font-weight: 700;
}

/* All top-level navbar items are text links except the Sign out button. */
.nav-menu > ul > li:not(.aucc-nav-signout) > a:not(.btn) {
  border: 0 !important;
  border-radius: 0;
  color: #fff !important;
  background-color: transparent !important;
  background-image: linear-gradient(var(--aucc-accent), var(--aucc-accent));
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 0 2px;
  box-shadow: none;
  filter: none !important;
  transition: color .2s ease, background-size .2s ease;
}

.nav-menu > ul > li:not(.aucc-nav-signout) > a:not(.btn):hover {
  color: #fff !important;
  background-color: transparent !important;
  background-size: 100% 2px;
  filter: none !important;
}

/* Categorized advanced conference settings modal */
.legacy-settings-modal .modal-dialog {
  max-width: min(1180px, calc(100vw - 30px));
}

.legacy-settings-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(6, 42, 84, .28);
}

.legacy-settings-modal .modal-header {
  align-items: center;
  padding: 18px 22px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #082f63, #0b67b2);
}

.legacy-settings-modal .modal-header h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.35rem;
}

.legacy-settings-modal .modal-header .close {
  margin: 0;
  padding: 6px 10px;
  color: #fff;
  text-shadow: none;
  opacity: .85;
}

.legacy-modal-kicker {
  color: #ffda63;
  font-family: 'Kanit', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.legacy-settings-modal .modal-body {
  padding: 0;
  background: #f3f7fc;
}

.legacy-settings-form {
  padding: 20px;
}

.legacy-settings-form > p,
.legacy-settings-body > p {
  display: none;
}

.legacy-settings-intro {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
  padding: 13px 15px;
  border: 1px solid #cfe0f2;
  border-radius: 12px;
  color: #21476f;
  background: #eef6ff;
}

.legacy-settings-intro-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #0b67b2;
  font-size: 1.15rem;
}

.legacy-settings-intro strong,
.legacy-settings-intro small {
  display: block;
}

.legacy-settings-intro small {
  margin-top: 2px;
  color: #66809b;
}

.legacy-settings-group {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #d8e4f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(24, 73, 121, .05);
}

.legacy-settings-group[open] {
  border-color: #a9c8e7;
  box-shadow: 0 10px 24px rgba(24, 73, 121, .09);
}

.legacy-settings-group > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 48px 15px 17px;
  color: #183f6b;
  background: #fff;
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}

.legacy-settings-group > summary::-webkit-details-marker {
  display: none;
}

.legacy-settings-group > summary::after {
  position: absolute;
  right: 18px;
  content: "\F282";
  color: #0b67b2;
  font-family: "bootstrap-icons";
  transition: transform .2s ease;
}

.legacy-settings-group[open] > summary::after {
  transform: rotate(180deg);
}

.legacy-settings-group[open] > summary {
  border-bottom: 1px solid #e1eaf3;
  background: #f7fbff;
}

.legacy-settings-group > summary > span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legacy-settings-group > summary > span > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #0b67b2;
  background: #e7f2ff;
}

.legacy-settings-group > summary strong {
  font-family: 'Kanit', sans-serif;
  font-size: 1rem;
}

.legacy-settings-group > summary small {
  color: #71869e;
  text-align: right;
}

.legacy-settings-group-critical > summary > span > i {
  color: #9a6500;
  background: #fff2ca;
}

.legacy-settings-body {
  padding: 18px;
}

.legacy-settings-body > .row,
.legacy-settings-body > .row-justify-center {
  margin-right: -.5rem;
  margin-left: -.5rem;
}

.legacy-settings-body > .row-justify-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.legacy-settings-body > .row > [class*="col-"],
.legacy-settings-body > .row-justify-center > [class*="col-"] {
  padding-right: .5rem;
  padding-left: .5rem;
  margin-bottom: 14px;
}

.legacy-settings-body h5 {
  margin: 6px 0 14px;
  padding-bottom: 7px;
  border-bottom: 1px dashed #cbd9e7;
  color: #315a88;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.legacy-settings-body b {
  display: block;
  margin-bottom: 6px;
  color: #294b70;
  font-family: 'Kanit', sans-serif;
  font-size: .86rem;
  font-weight: 600;
}

.legacy-settings-body .form-control {
  min-height: 43px;
  border-color: #ccd9e6;
  border-radius: 8px;
  background-color: #fff;
}

.legacy-settings-body .form-control:focus {
  border-color: #2c7bc4;
  box-shadow: 0 0 0 3px rgba(44, 123, 196, .12);
}

.legacy-settings-body input[type="color"] {
  height: 48px;
  padding: 5px;
  cursor: pointer;
}

.legacy-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legacy-status-grid > .row-justify-center {
  display: block;
  margin: 0;
  padding: 12px;
  border: 1px solid #e0e8f1;
  border-radius: 10px;
  background: #f9fbfd;
}

.legacy-status-grid > .row-justify-center > [class*="col-"] {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.legacy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #d7e2ec;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  user-select: none;
}

.legacy-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.legacy-toggle-track {
  position: relative;
  display: block;
  width: 52px;
  height: 28px;
  flex: 0 0 52px;
  border-radius: 999px;
  background: #a7b3c0;
  box-shadow: inset 0 1px 3px rgba(17, 39, 64, .18);
  transition: background .2s ease, box-shadow .2s ease;
}

.legacy-toggle-track > span {
  position: absolute;
  width: 22px;
  height: 22px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(17, 39, 64, .25);
  transition: transform .2s ease;
}

.legacy-toggle-state {
  min-width: 27px;
  color: #6f7f90;
  font-family: 'Kanit', sans-serif;
  font-size: .82rem;
  font-weight: 700;
}

.legacy-toggle-state::before {
  content: "Off";
}

.legacy-toggle-input:checked + .legacy-toggle-track {
  background: #168653;
  box-shadow: inset 0 1px 3px rgba(5, 75, 42, .2), 0 0 0 3px rgba(22, 134, 83, .1);
}

.legacy-toggle-input:checked + .legacy-toggle-track > span {
  transform: translateX(24px);
}

.legacy-toggle-input:checked ~ .legacy-toggle-state {
  color: #168653;
}

.legacy-toggle-input:checked ~ .legacy-toggle-state::before {
  content: "On";
}

.legacy-toggle-input:focus-visible + .legacy-toggle-track {
  outline: 3px solid rgba(44, 123, 196, .25);
  outline-offset: 2px;
}

.legacy-settings-actions {
  position: sticky;
  z-index: 5;
  bottom: -20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 18px -20px -20px;
  padding: 15px 20px;
  border-top: 1px solid #d5e0eb;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 24px rgba(24, 73, 121, .08);
  backdrop-filter: blur(8px);
}

.legacy-settings-save-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #315a88;
}

.legacy-settings-save-hint > i {
  color: #168653;
  font-size: 1.35rem;
}

.legacy-settings-save-hint strong,
.legacy-settings-save-hint small {
  display: block;
}

.legacy-settings-save-hint small {
  color: #71869e;
}

.legacy-settings-action-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

@media (max-width: 767.98px) {
  .legacy-settings-modal .modal-dialog {
    max-width: calc(100vw - 12px);
    margin: 6px auto;
  }

  .legacy-settings-form {
    padding: 12px;
  }

  .legacy-settings-group > summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .legacy-settings-group > summary small {
    padding-left: 44px;
    text-align: left;
  }

  .legacy-status-grid {
    grid-template-columns: 1fr;
  }

  .legacy-settings-actions {
    align-items: stretch;
    flex-direction: column;
    margin-right: -12px;
    margin-left: -12px;
  }

  .legacy-settings-action-buttons .btn {
    flex: 1;
  }
}

/* Attendance confirmation and fee calculation */
.attendance-confirmation {
  min-height: calc(100vh - 70px);
  padding: 105px 0 60px;
  background:
    radial-gradient(circle at 8% 18%, rgba(11,78,162,.11), transparent 24rem),
    radial-gradient(circle at 92% 80%, rgba(255,198,41,.15), transparent 22rem),
    #fff;
}

.attendance-page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.attendance-page-heading span {
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.attendance-page-heading h1 {
  margin: 4px 0;
  color: #123b68;
  font-size: clamp(2rem, 4vw, 3rem);
}

.attendance-page-heading p {
  margin: 0;
  color: #6d8195;
}

.attendance-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid #dfe9f3;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(20,65,110,.08);
}

.attendance-summary > div {
  padding: 17px 19px;
}

.attendance-summary > div + div {
  border-left: 1px solid #e4ecf4;
}

.attendance-summary span,
.attendance-summary strong {
  display: block;
}

.attendance-summary span {
  color: #8494a5;
  font-size: .76rem;
}

.attendance-summary strong {
  margin-top: 3px;
  color: #234b74;
  font-family: 'Kanit', sans-serif;
  font-size: .92rem;
}

.attendance-form,
.attendance-blocked {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #dce8f4;
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 22px 55px rgba(20,65,110,.11);
}

.attendance-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.attendance-mode-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  min-height: 150px;
  padding: 24px;
  border: 2px solid #e0e9f2;
  border-radius: 19px;
  cursor: pointer;
  background: #fbfdff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.attendance-mode-card:hover,
.attendance-mode-card.is-selected {
  border-color: #2775c9;
  box-shadow: 0 15px 34px rgba(20,82,148,.13);
  transform: translateY(-3px);
}

.attendance-mode-card.is-selected {
  background: linear-gradient(135deg, #eff7ff, #fffdf4);
}

.attendance-mode-card input {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 18px;
  accent-color: #0b4ea2;
}

.attendance-mode-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  color: #0b4ea2;
  background: #e7f2fd;
  font-size: 1.55rem;
}

.attendance-mode-copy small,
.attendance-mode-copy strong,
.attendance-mode-copy em {
  display: block;
}

.attendance-mode-copy small {
  color: #7690aa;
  font-family: 'Kanit', sans-serif;
  font-size: .65rem;
  font-style: normal;
  letter-spacing: .08em;
}

.attendance-mode-copy strong {
  margin: 3px 0;
  color: #123b68;
  font-family: 'Kanit', sans-serif;
  font-size: 1.35rem;
}

.attendance-mode-copy em {
  color: #6c8093;
  font-size: .86rem;
  font-style: normal;
}

.attendance-mode-fee {
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

.attendance-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 19px 22px;
  border: 1px solid #f1d47e;
  border-radius: 15px;
  background: #fff9e5;
}

.attendance-total span,
.attendance-total small {
  display: block;
}

.attendance-total span {
  color: #554516;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
}

.attendance-total small {
  color: #887948;
}

.attendance-total > strong {
  color: #0b4ea2;
  font-family: 'Kanit', sans-serif;
  font-size: 1.65rem;
  white-space: nowrap;
}

.attendance-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
}

.attendance-paid-note {
  color: #718297;
  font-weight: 600;
}

.attendance-blocked {
  text-align: center;
}

.attendance-blocked > i {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 20px;
  color: #9d6c00;
  background: #fff3cd;
  font-size: 1.8rem;
}

.attendance-blocked h2 {
  color: #123b68;
}

.attendance-blocked p {
  color: #6d8195;
}

.user-dashboard-white .tone-registration .home-action-icon {
  background: linear-gradient(135deg, #0b4ea2, #277dd1);
}

@media (max-width: 991px) {
  .attendance-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attendance-summary > div:nth-child(3) {
    border-left: 0;
  }

  .attendance-summary > div:nth-child(n+3) {
    border-top: 1px solid #e4ecf4;
  }

  .attendance-mode-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .attendance-confirmation {
    padding: 90px 0 40px;
  }

  .attendance-page-heading,
  .attendance-total,
  .attendance-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .attendance-summary {
    grid-template-columns: 1fr;
  }

  .attendance-summary > div + div,
  .attendance-summary > div:nth-child(3) {
    border-top: 1px solid #e4ecf4;
    border-left: 0;
  }

  .attendance-mode-card {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 20px;
  }

  .attendance-mode-icon {
    width: 50px;
    height: 50px;
  }

  .attendance-mode-fee {
    grid-column: 2;
  }
}
.payment-confirmed-fee {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 87, 166, 0.18);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(17, 87, 166, 0.08), rgba(255, 202, 40, 0.12));
}

.payment-confirmed-fee span,
.payment-confirmed-fee small {
  color: var(--theme-muted, #64748b);
}

.payment-confirmed-fee strong {
  color: var(--theme-primary, #1157a6);
  font-family: "Kanit", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.fee-rate-launch-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(17, 87, 166, 0.15);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 202, 40, 0.2), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 14px 34px rgba(22, 58, 105, 0.09);
}

.fee-rate-launch-icon {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 3.6rem;
  place-items: center;
  border-radius: 1rem;
  color: #ffffff;
  background: linear-gradient(145deg, #0b4ea2, #1774d1);
  box-shadow: 0 9px 20px rgba(11, 78, 162, 0.22);
  font-size: 1.55rem;
}

.fee-rate-launch-copy {
  min-width: 0;
  flex: 1;
}

.fee-rate-launch-copy > span,
.fee-modal-kicker {
  color: #d69500;
  font-family: "Kanit", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.fee-rate-launch-copy h4 {
  margin: 0.15rem 0 0.2rem;
  color: #12345c;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.fee-rate-launch-copy p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

.fee-rate-launch-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0.8rem;
  padding: 0.7rem 1.1rem;
  font-family: "Kanit", sans-serif;
  box-shadow: 0 8px 18px rgba(11, 78, 162, 0.16);
}

.fee-rates-modal .modal-dialog {
  max-width: min(1140px, calc(100vw - 2rem));
}

.fee-rates-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 1.15rem;
  box-shadow: 0 26px 70px rgba(15, 42, 77, 0.28);
}

.fee-rates-modal .modal-header {
  align-items: flex-start;
  border: 0;
  padding: 1.2rem 1.4rem;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 202, 40, 0.34), transparent 30%),
    linear-gradient(135deg, #093f87, #1269bd);
}

.fee-rates-modal .fee-modal-kicker {
  color: #ffda63;
}

.fee-rates-modal .modal-title {
  margin-top: 0.15rem;
  color: #ffffff;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
}

.fee-rates-modal .close {
  margin: -0.4rem -0.35rem 0 0;
  color: #ffffff;
  opacity: 0.86;
  text-shadow: none;
  font-size: 2rem;
}

.fee-rates-modal .close:hover {
  color: #ffda63;
  opacity: 1;
}

.fee-rates-modal .modal-body {
  padding: 1.25rem;
  background: #f4f7fb;
}

.fee-mode-section {
  overflow: hidden;
  margin-bottom: 1.15rem;
  border: 1px solid #dbe5f1;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(28, 59, 97, 0.07);
}

.fee-mode-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #dbe5f1;
  background: linear-gradient(90deg, #edf5ff, #ffffff);
}

.fee-mode-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 0.75rem;
  color: #0b4ea2;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(11, 78, 162, 0.12);
  font-size: 1.2rem;
}

.fee-mode-heading small {
  color: #7b8ca3;
  font-family: "Kanit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.fee-mode-heading h5 {
  margin: 0;
  color: #12345c;
  font-size: 1.2rem;
}

.fee-comparison-table {
  min-width: 760px;
}

.fee-comparison-table th,
.fee-comparison-table td {
  padding: 0.8rem 0.75rem;
  border-color: #dbe5f1;
  text-align: center;
  vertical-align: middle;
}

.fee-comparison-table thead th {
  color: #ffffff;
  background: #315a88;
  font-family: "Kanit", sans-serif;
  font-weight: 500;
}

.fee-comparison-table thead .fee-group-mou {
  background: #0b67b2;
}

.fee-comparison-table thead .fee-group-non-mou {
  background: #b17b00;
}

.fee-comparison-table .fee-applicant-column {
  width: 31%;
  background: #183f6b;
}

.fee-comparison-table tbody th {
  color: #203b5c;
  background: #f8fbff;
  text-align: left;
  font-weight: 600;
}

.fee-comparison-table tbody tr:hover td,
.fee-comparison-table tbody tr:hover th {
  background: #fffbea;
}

.fee-comparison-table td strong {
  display: inline-block;
  color: #0b4ea2;
  font-family: "Kanit", sans-serif;
  font-size: 1.02rem;
}

.fee-currency {
  margin-right: 0.2rem;
  color: #718096;
  font-size: 0.78rem;
}

.fee-modal-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(214, 149, 0, 0.24);
  border-radius: 0.8rem;
  color: #805c00;
  background: #fff9e7;
}

.fee-rates-modal .modal-footer {
  border-top: 1px solid #e3eaf2;
  background: #ffffff;
}

@media (max-width: 767.98px) {
  .fee-rate-launch-card {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1rem;
  }

  .fee-rate-launch-copy {
    flex-basis: calc(100% - 4.8rem);
  }

  .fee-rate-launch-button {
    width: 100%;
  }

  .fee-rates-modal .modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .fee-rates-modal .modal-body {
    padding: 0.75rem;
  }

  .fee-modal-note {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.payment-bank-details {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.payment-bank-logo {
  width: 110px;
  max-height: 90px;
  flex: 0 0 110px;
  object-fit: contain;
  padding: 0.4rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  background: #ffffff;
}

.payment-bank-copy {
  display: grid;
  flex: 1;
  gap: 0.65rem;
}

.payment-bank-copy div {
  display: grid;
  gap: 0.05rem;
}

.payment-bank-copy span {
  color: #718096;
  font-size: 0.82rem;
}

.payment-bank-copy strong {
  color: #203b5c;
  line-height: 1.35;
}

.payment-bank-copy .payment-account-number {
  color: #0b67b2;
  font-family: "Kanit", sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
}

.payment-bank-instructions {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-left: 4px solid #dca900;
  border-radius: 0.35rem 0.7rem 0.7rem 0.35rem;
  color: #67531d;
  background: #fff9df;
}

.conf-bank-active {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 0.65rem;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d8e3ef;
  border-radius: 0.65rem;
  color: #27496d;
  background: #f7fbff;
  cursor: pointer;
}

.conf-bank-active input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #0b67b2;
}

@media (max-width: 575.98px) {
  .payment-bank-details {
    flex-direction: column;
  }

  .payment-bank-logo {
    width: 96px;
    flex-basis: auto;
  }
}

/* Modern administrator dashboard */
.admin-dashboard-modern {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px 0 56px;
  color: #203b5c;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 202, 40, 0.14), transparent 25%),
    radial-gradient(circle at 5% 45%, rgba(18, 105, 189, 0.08), transparent 28%),
    #f7faff;
}

.admin-dashboard-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(24, 73, 121, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 73, 121, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.admin-dashboard-container {
  position: relative;
  z-index: 1;
}

.admin-dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(24, 73, 121, 0.12);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 9px 24px rgba(32, 59, 92, 0.06);
  backdrop-filter: blur(12px);
}

.admin-dashboard-topline > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.admin-dashboard-topline > div:first-child > span {
  color: #0b4ea2;
  font-family: "Kanit", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.admin-dashboard-topline small {
  color: #718096;
}

.admin-dashboard-top-actions a,
.admin-track-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  border-radius: 0.6rem;
  font-family: "Kanit", sans-serif;
  font-size: 0.84rem;
}

.admin-dashboard-top-actions a {
  color: #0b4ea2;
  background: #edf5ff;
}

.admin-dashboard-top-actions a:hover {
  color: #ffffff;
  background: #0b4ea2;
}

.admin-track-chip {
  color: #7b5900;
  background: #fff3c4;
}

.admin-dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  min-height: 330px;
  overflow: hidden;
  border-radius: 1.5rem;
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(4, 37, 81, 0.98), rgba(11, 88, 166, 0.94)),
    #0b4ea2;
  box-shadow: 0 24px 60px rgba(7, 56, 117, 0.22);
}

.admin-dashboard-hero::before,
.admin-dashboard-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.admin-dashboard-hero::before {
  width: 440px;
  height: 440px;
  top: -280px;
  left: 34%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.025), 0 0 0 90px rgba(255, 255, 255, 0.02);
}

.admin-dashboard-hero::after {
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(255, 202, 40, 0.16);
  filter: blur(2px);
}

.admin-dashboard-hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.admin-dashboard-kicker {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 218, 99, 0.34);
  border-radius: 999px;
  color: #ffda63;
  background: rgba(255, 202, 40, 0.08);
  font-family: "Kanit", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.admin-dashboard-hero h1 {
  margin: 0.75rem 0 0.3rem;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.admin-dashboard-hero h1 em {
  display: block;
  color: #ffda63;
  font-style: normal;
}

.admin-dashboard-hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.admin-conference-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.admin-conference-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.65rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
}

.admin-conference-meta .admin-status {
  color: #d9ffe8;
  background: rgba(32, 191, 107, 0.14);
}

.admin-status i {
  color: #3bd27f;
  font-size: 0.55rem;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.admin-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  padding: 0.65rem 0.95rem;
  font-family: "Kanit", sans-serif;
}

.admin-dashboard-hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.admin-core {
  position: relative;
  z-index: 3;
  display: grid;
  width: 145px;
  height: 145px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.1), 0 0 40px rgba(74, 167, 255, 0.2);
  backdrop-filter: blur(10px);
}

.admin-core i {
  color: #ffda63;
  font-size: 2.1rem;
}

.admin-core strong {
  margin-top: 0.1rem;
  font-family: "Kanit", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.admin-core small {
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.18em;
}

.admin-core-ring {
  position: absolute;
  border: 1px dashed rgba(255, 218, 99, 0.4);
  border-radius: 50%;
  animation: admin-core-spin 18s linear infinite;
}

.admin-core-ring::before,
.admin-core-ring::after {
  position: absolute;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: #ffda63;
  box-shadow: 0 0 12px #ffda63;
}

.admin-core-ring::before {
  top: 10%;
  left: 18%;
}

.admin-core-ring::after {
  right: 10%;
  bottom: 20%;
}

.admin-core-ring-one {
  width: 210px;
  height: 210px;
}

.admin-core-ring-two {
  width: 270px;
  height: 270px;
  border-color: rgba(116, 196, 255, 0.28);
  animation-direction: reverse;
  animation-duration: 26s;
}

@keyframes admin-core-spin {
  to { transform: rotate(360deg); }
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: -1.15rem;
  padding: 0 1.1rem;
  position: relative;
  z-index: 4;
}

.admin-summary-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(24, 73, 121, 0.1);
  border-radius: 0.95rem;
  color: #203b5c;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(32, 59, 92, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-summary-card:hover {
  color: #203b5c;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(32, 59, 92, 0.14);
}

.admin-summary-icon,
.admin-action-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--admin-tone);
  background: color-mix(in srgb, var(--admin-tone) 12%, white);
}

.admin-summary-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.7rem;
  font-size: 1.05rem;
}

.admin-summary-card > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.admin-summary-card small {
  overflow: hidden;
  color: #718096;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-summary-card strong {
  color: #173b63;
  font-family: "Kanit", sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.admin-summary-arrow {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  color: #a4b2c2;
  font-size: 0.72rem;
}

.admin-dashboard-modern .tone-blue { --admin-tone: #0b67b2; }
.admin-dashboard-modern .tone-cyan { --admin-tone: #0aa6b6; }
.admin-dashboard-modern .tone-green { --admin-tone: #15985b; }
.admin-dashboard-modern .tone-amber { --admin-tone: #c58a00; }
.admin-dashboard-modern .tone-rose { --admin-tone: #d44e6b; }
.admin-dashboard-modern .tone-violet { --admin-tone: #7357c7; }

.admin-dashboard-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2.6rem 0 1rem;
}

.admin-dashboard-section-heading span {
  color: #c58a00;
  font-family: "Kanit", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.admin-dashboard-section-heading h2 {
  margin: 0.15rem 0 0;
  color: #173b63;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.admin-dashboard-section-heading p {
  max-width: 520px;
  margin: 0;
  color: #718096;
  text-align: right;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-action-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 135px;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgba(24, 73, 121, 0.11);
  border-radius: 1.05rem;
  color: #203b5c;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 26px rgba(32, 59, 92, 0.065);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.admin-action-card::before {
  position: absolute;
  width: 4px;
  inset: 0 auto 0 0;
  content: "";
  background: var(--admin-tone);
}

.admin-action-card:hover {
  color: #203b5c;
  border-color: color-mix(in srgb, var(--admin-tone) 35%, white);
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(32, 59, 92, 0.13);
}

.admin-action-icon {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0.9rem;
  font-size: 1.35rem;
}

.admin-action-card h3 {
  margin: 0 0 0.3rem;
  color: #173b63;
  font-size: 1.08rem;
}

.admin-action-card p {
  margin: 0;
  color: #718096;
  line-height: 1.45;
}

.admin-action-open {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--admin-tone);
  background: color-mix(in srgb, var(--admin-tone) 10%, white);
  transition: transform 0.2s ease;
}

.admin-action-card:hover .admin-action-open {
  transform: translateX(4px);
}

.admin-action-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-dashboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 73, 121, 0.12);
  color: #718096;
}

.admin-dashboard-footer span:first-child {
  color: #0b67b2;
}

@media (max-width: 1199.98px) {
  .admin-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .admin-dashboard-hero {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-hero-visual {
    display: none;
  }

  .admin-action-grid,
  .admin-action-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .admin-dashboard-modern {
    padding-top: 98px;
  }

  .admin-dashboard-topline,
  .admin-dashboard-section-heading,
  .admin-dashboard-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-dashboard-section-heading p {
    text-align: left;
  }

  .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0.55rem;
  }
}

@media (max-width: 575.98px) {
  .admin-dashboard-topline > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-dashboard-top-actions {
    width: 100%;
  }

  .admin-dashboard-hero-copy {
    padding: 1.5rem 1.2rem 2.2rem;
  }

  .admin-summary-grid {
    grid-template-columns: 1fr;
    margin-top: -0.7rem;
  }

  .admin-action-grid,
  .admin-action-grid-compact {
    grid-template-columns: 1fr;
  }

  .admin-action-card {
    min-height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-core-ring {
    animation: none;
  }
}
 
/* Co-ordinator Dashboard */
.coordinator-dashboard-modern .admin-dashboard-topline > div:first-child > span i {
  color: #f5bd22;
}

.coordinator-dashboard-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(45, 181, 214, 0.2), transparent 32%),
    linear-gradient(120deg, #082b59 0%, #0f5598 100%);
}

.coordinator-dashboard-hero::before {
  background: linear-gradient(180deg, #f5bd22, #ffdc6d);
}

.coordinator-dashboard-hero .admin-dashboard-kicker {
  color: #a9dcff;
}

.coordinator-dashboard-hero h1 em {
  color: #ffd45c;
}

.coordinator-dashboard-core {
  background: linear-gradient(145deg, #ffffff, #c9eaff);
}

.coordinator-dashboard-core > i {
  color: #0c477f;
}

.coordinator-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coordinator-action-disabled {
  position: relative;
  cursor: not-allowed;
  opacity: 0.8;
}

.coordinator-development-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #805a08;
  background: #fff0bd;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coordinator-dashboard-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 13px 16px;
  border: 1px solid #dbe7f2;
  border-radius: 12px;
  color: #557087;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.coordinator-dashboard-note i {
  flex: 0 0 auto;
  color: #1559a7;
}

@media (max-width: 991px) {
  .coordinator-action-grid {
    grid-template-columns: 1fr;
  }
}

/* Reviewer Dashboard */
.reviewer-dashboard-modern.services {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px 0 58px;
  color: #203b5c;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 202, 40, 0.14), transparent 25%),
    radial-gradient(circle at 5% 46%, rgba(18, 105, 189, 0.09), transparent 28%),
    #f7faff;
}

.reviewer-dashboard-modern.services::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(24, 73, 121, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 73, 121, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.reviewer-dashboard-modern > .container {
  position: relative;
  z-index: 1;
}

.reviewer-dashboard-modern .section-title {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  padding: clamp(2rem, 5vw, 3.4rem);
  border-radius: 1.5rem;
  text-align: left;
  background:
    radial-gradient(circle at 84% 20%, rgba(65, 190, 223, 0.23), transparent 28%),
    linear-gradient(120deg, #082b59 0%, #0f5598 100%);
  box-shadow: 0 24px 60px rgba(7, 56, 117, 0.22);
}

.reviewer-dashboard-modern .section-title::before,
.reviewer-dashboard-modern .section-title::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.reviewer-dashboard-modern .section-title::before {
  width: 260px;
  height: 260px;
  top: -150px;
  right: 8%;
  border: 1px dashed rgba(255, 218, 99, 0.38);
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.025);
}

.reviewer-dashboard-modern .section-title::after {
  width: 210px;
  height: 210px;
  right: -72px;
  bottom: -110px;
  background: rgba(255, 202, 40, 0.17);
}

.reviewer-dashboard-modern .section-title h2 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.22;
  text-transform: none;
}

.reviewer-dashboard-modern .section-title h2::before,
.reviewer-dashboard-modern .section-title h2::after {
  display: none;
}

.reviewer-dashboard-modern .section-title .text-icon {
  display: inline-block;
  margin-top: 0.45rem;
  color: #ffda63;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 600;
}

.reviewer-dashboard-modern .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.reviewer-dashboard-modern .row + p {
  display: none;
}

.reviewer-dashboard-modern .row + .row {
  margin-top: 1rem;
}

.reviewer-dashboard-modern .row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}

.reviewer-dashboard-modern.services .icon-box {
  --reviewer-tone: #0b67b2;
  position: relative;
  min-height: 225px;
  height: 100%;
  overflow: hidden;
  padding: 1.45rem;
  border: 1px solid rgba(24, 73, 121, 0.11);
  border-radius: 1.05rem;
  color: #718096;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(32, 59, 92, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.reviewer-dashboard-modern.services .icon-box::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--reviewer-tone);
}

.reviewer-dashboard-modern.services .icon-box:hover {
  border-color: color-mix(in srgb, var(--reviewer-tone) 35%, white);
  box-shadow: 0 18px 38px rgba(32, 59, 92, 0.14);
  transform: translateY(-5px);
}

.reviewer-dashboard-modern.services .icon-box .icon {
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: 0.9rem;
  color: var(--reviewer-tone);
  background: color-mix(in srgb, var(--reviewer-tone) 12%, white);
}

.reviewer-dashboard-modern.services .icon-box .icon a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.reviewer-dashboard-modern.services .icon-box .icon i {
  color: var(--reviewer-tone);
  font-size: 1.65rem;
}

.reviewer-dashboard-modern.services .icon-box h4 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.reviewer-dashboard-modern.services .icon-box h4 a {
  color: #173b63;
}

.reviewer-dashboard-modern.services .icon-box:hover h4 a {
  color: var(--reviewer-tone);
}

.reviewer-dashboard-modern.services .icon-box p {
  color: #718096;
  line-height: 1.5;
}

.reviewer-dashboard-modern .row:first-of-type > div:nth-child(2) .icon-box {
  --reviewer-tone: #15985b;
}

.reviewer-dashboard-modern .row:first-of-type > div:nth-child(3) .icon-box {
  --reviewer-tone: #7357c7;
}

.reviewer-dashboard-modern .row:last-of-type > div:nth-child(1) .icon-box {
  --reviewer-tone: #c58a00;
}

.reviewer-dashboard-modern .row:last-of-type > div:nth-child(2) .icon-box {
  --reviewer-tone: #0aa6b6;
}

.reviewer-dashboard-modern .row:last-of-type > div:nth-child(3) .icon-box {
  --reviewer-tone: #d44e6b;
}

@media (max-width: 991.98px) {
  .reviewer-dashboard-modern .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .reviewer-dashboard-modern.services {
    padding-top: 98px;
  }

  .reviewer-dashboard-modern .section-title {
    padding: 2rem 1.4rem;
    border-radius: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .reviewer-dashboard-modern .row {
    grid-template-columns: 1fr;
  }

  .reviewer-dashboard-modern.services .icon-box {
    min-height: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviewer-dashboard-modern.services .icon-box {
    transition: none;
  }
}

/* Reviewer dashboard readability refinements */
.reviewer-dashboard-modern .section-title {
  margin-bottom: 1.35rem;
  padding: clamp(1.65rem, 4vw, 2.35rem);
}

.reviewer-dashboard-modern .section-title h2 {
  max-width: 900px;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.28;
}

.reviewer-dashboard-modern .section-title .text-icon {
  margin-top: 0.25rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.reviewer-dashboard-modern .row::before {
  grid-column: 1 / -1;
  margin: 0.4rem 0 -0.15rem;
  color: #173b63;
  font-family: "Kanit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.reviewer-dashboard-modern .row:first-of-type::before {
  content: "01  /  REVIEW WORKFLOW";
}

.reviewer-dashboard-modern .row:last-of-type::before {
  content: "02  /  ADDITIONAL TOOLS";
}

.reviewer-dashboard-modern .row + .row {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 73, 121, 0.12);
}

.reviewer-dashboard-modern.services .icon-box {
  min-height: 190px;
  padding: 1.25rem 1.25rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.reviewer-dashboard-modern.services .icon-box::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  content: "\2197";
  color: #a5b4c5;
  font-size: 1rem;
  font-weight: 700;
}

.reviewer-dashboard-modern.services .icon-box .icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.8rem;
}

.reviewer-dashboard-modern.services .icon-box .icon i {
  font-size: 1.45rem;
}

.reviewer-dashboard-modern.services .icon-box h4 {
  max-width: calc(100% - 1.25rem);
  margin-bottom: 0.35rem;
  font-size: 1.03rem;
  line-height: 1.35;
}

.reviewer-dashboard-modern.services .icon-box p,
.reviewer-dashboard-modern.services .icon-box br {
  display: none;
}

.reviewer-dashboard-modern.services .icon-box:hover::after {
  color: var(--reviewer-tone);
}

@media (max-width: 575.98px) {
  .reviewer-dashboard-modern .row::before {
    margin-top: 0.15rem;
  }

  .reviewer-dashboard-modern.services .icon-box {
    min-height: 170px;
  }
}

.reviewer-dashboard-modern .section-title + .row::before {
  content: "01  /  REVIEW WORKFLOW";
}

.reviewer-dashboard-modern .section-title + .row > div:nth-child(2) .icon-box {
  --reviewer-tone: #15985b;
}

.reviewer-dashboard-modern .section-title + .row > div:nth-child(3) .icon-box {
  --reviewer-tone: #7357c7;
}

.reviewer-dashboard-modern .row:last-of-type {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 73, 121, 0.12);
}

/* End reviewer dashboard readability refinements */

/* Two-line AUCC navbar brand */
.aucc-brand-title {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.aucc-brand-title strong {
  color: inherit;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: inherit;
}

.aucc-brand-title small {
  margin-top: 0.2em;
  color: inherit;
  font-size: 0.46em;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.aucc-brand-link:hover .aucc-brand-title small {
  color: inherit;
}

@media (max-width: 575.98px) {
  .aucc-brand-link {
    gap: 7px;
  }

  .aucc-brand-title small {
    font-size: 0.44em;
  }
}

/* Right-aligned desktop navbar */
#header > .container {
  align-items: center;
}

#header > .container > h2 {
  flex: 0 0 auto;
  margin: 0;
}

#header > .container > .nav-menu {
  margin-left: auto;
}

#header > .container > .nav-menu > ul {
  align-items: center;
  justify-content: flex-end;
}


/* Language-aware reviewer card descriptions */
.reviewer-dashboard-modern.services .icon-box {
  font-size: 0;
}

.reviewer-dashboard-modern.services .icon-box p {
  display: block;
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* End language-aware reviewer card descriptions */

/* Language-aware admin section descriptions */
html[lang="en"] .admin-dashboard-modern:not(.coordinator-dashboard-modern) .admin-dashboard-section-heading > p {
  display: none;
}

/* University master directory */

.university-combobox {
  position: relative;
}

.university-search-results {
  position: absolute;
  z-index: 1050;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.university-search-option {
  display: block;
  width: 100%;
  padding: 0.55rem 0.7rem;
  color: #212529;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0.25rem;
}

.university-search-option:hover,
.university-search-option:focus,
.university-search-option.is-active {
  color: #fff;
  background: #0d6efd;
  outline: 0;
}

.university-search-empty {
  padding: 0.65rem 0.7rem;
  color: #6c757d;
}
.admin-directory-page {
  min-height: calc(100vh - 110px);
  padding: 38px 0 64px;
  background:
    radial-gradient(circle at 90% 0, rgba(10,166,182,.12), transparent 28rem),
    linear-gradient(180deg, #f4f8fc 0%, #eef4fa 100%);
}

.admin-directory-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-directory-kicker {
  display: inline-block;
  margin-bottom: 5px;
  color: #0aa6b6;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.admin-directory-header h1 {
  margin: 0;
  color: #15385e;
  font-family: 'Kanit', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.admin-directory-header h1 i {
  color: #0b67b2;
}

.admin-directory-header p {
  margin: 7px 0 0;
  color: #6d8196;
}

.admin-directory-card {
  overflow: hidden;
  padding: 24px;
  border: 1px solid #dce7f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(30,68,105,.09);
}

.admin-directory-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.admin-directory-search {
  width: min(100%, 680px);
}

.admin-directory-search label {
  margin-bottom: 7px;
  color: #294d70;
  font-weight: 600;
}

.admin-directory-total {
  min-width: 155px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(120deg, #0b67b2, #0aa6b6);
  text-align: right;
}

.admin-directory-total small,
.admin-directory-total strong {
  display: block;
}

.admin-directory-total small {
  opacity: .86;
}

.admin-directory-total strong {
  font-size: 1.55rem;
  line-height: 1.1;
}

.admin-directory-table {
  margin-bottom: 0;
}

.admin-directory-table thead th {
  padding: 13px 12px;
  border-bottom: 0;
  color: #fff;
  background: #173f66;
  font-size: .86rem;
  white-space: nowrap;
}

.admin-directory-table tbody td {
  padding: 14px 12px;
  border-color: #e9eff5;
  color: #3e5871;
}

.admin-directory-table tbody td strong,
.admin-directory-table tbody td small {
  display: block;
}

.admin-directory-table tbody td strong {
  color: #183d61;
}

.admin-directory-table tbody td small {
  margin-top: 3px;
  color: #8495a6;
}

.admin-directory-id {
  display: inline-grid;
  min-width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #0b67b2;
  background: #eaf4fd;
  font-weight: 700;
}

.admin-coordinate {
  color: #087f8d;
  white-space: nowrap;
}

.admin-directory-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  color: #6d8196;
}

@media (max-width: 767px) {
  .admin-directory-header,
  .admin-directory-toolbar,
  .admin-directory-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-directory-card {
    padding: 16px;
    border-radius: 15px;
  }

  .admin-directory-total {
    text-align: left;
  }
}

