/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
  --main-color: #0090A9;
  --base-color: #EBEBEC;
  --sub-color: #d7e8ed;
  --accent-color: #D98B00;
  --sub-accent-color: #CBBF9E;
  --font-base-color: #212529;
  --text-color: var(--font-base-color);
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
  height: 80px;
  color: white;
  padding: 20px 0;
}

.logo img {
  width: 140px;
}

/* Main Navigation */
.nav-menu {
  list-style: none;
  display: flex;
  margin-bottom: 0;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
}

.sub-menu ul li {
  margin: 0 15px;
}

.sub-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 13px;
}

/* Mobile Navigation Toggle */
.navbar-toggler {
  border: none;
  background: transparent;
  color: var(--accent-color);
  padding: 10px;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230090A9' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* Main Nav */
.main-nav {
  background-color: white;
  border-bottom: 1px solid #dee2e6;
}

.main-nav .nav-link {
  padding: 15px 0;
  text-align: center;
  color: var(--text-color);
  font-size: 14px;
}

.main-nav .nav-link.active {
  background-color: #dedede;
  font-weight: bold;
}

/* Mobile Menu */
.mobile-header {
  width: 100%;
  z-index: 1030;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
}

.mobile-header .logo img {
  height: 40px;
}

.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1029;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav.mobile-visible {
  display: block !important;
}

.mobile-nav ul {
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  border-bottom: 1px solid #eee;
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  color: var(--font-base-color);
  display: block;
  padding: 15px 20px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-nav a:hover, 
.mobile-nav a.active {
  background-color: #f8f9fa;
  color: var(--main-color);
}

.mobile-nav a.active {
  border-left: 4px solid var(--accent-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }

  .logo img {
    width: 120px;
  }
  
  .nav-menu {
    display: none;
  }

  .nav-menu.mobile-visible {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--base-color);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.mobile-visible li {
    margin: 10px 20px;
  }
  
  .mobile-header {
    height: 60px;
  }
  
  .mobile-nav {
    top: 60px;
  }
}

@media (max-width: 992px) {
  .sub-menu ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .sub-menu ul li {
    margin: 5px 10px;
  }
}

/* ==========================================================================
   3. MEMBER PAGES
   ========================================================================== */
.member-page {
  background-color: var(--sub-color);
  min-height: 100vh;
}

.member-section-title {
  color: var(--main-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 18px;
  font-size: 1.5rem;
  font-weight: 700;
}

.member-highlight {
  background-color: var(--accent-color);
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 600;
}

.member-nav {
  background-color: var(--sub-color);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 18px;
}

.member-nav-link {
  color: var(--main-color);
  font-weight: 500;
  transition: all 0.2s;
  margin-right: 12px;
}

.member-nav-link:hover {
  color: var(--accent-color);
  background-color: rgba(217,139,0,0.12);
  border-radius: 4px;
}

/* Member Form Styles */
.member-form .form-label {
  color: var(--main-color);
  font-weight: 600;
}

.member-form .form-control {
  border-color: var(--sub-color);
}

.member-form .form-control:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 0.18rem rgba(0,144,169,.18);
}

.member-form .btn-primary {
  background-color: var(--main-color);
  border-color: var(--main-color);
  transition: all 0.2s;
}

.member-form .btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.member-form .btn-light {
  border-color: var(--sub-color);
  color: var(--main-color);
}

/* Notice Box */
.notice-box {
  background-color: var(--sub-color);
  border-left: 4px solid var(--accent-color);
  padding: 12px 18px;
  margin-top: 22px;
  color: var(--font-base-color);
  opacity: 0.92;
  border-radius: 6px;
}

/* Shop Info Styles */
.shop-info-label {
  font-weight: 600;
  margin-right: 5px;
}

.shop-info-value {
  font-weight: 500;
  color: var(--main-color, #0090A9);
}

/* Sidebar */
.sidebar {
  min-height: 100vh;
  position: sticky;
  top: 0;
  border-right: 1px solid #dee2e6;
}

.sidebar img {
  max-width: 180px;
}

.sidebar .nav-link {
  color: #333;
  padding: 15px 20px;
  border-radius: 0;
}

.sidebar .nav-link.active {
  background-color: #e6f3ff;
  color: #0066cc;
  font-weight: 600;
}

.sidebar .nav-link:hover:not(.active) {
  background-color: #f8f9fa;
}

/* Form Container */
.form-container {
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 20px;
}

/* Withdrawal Notice */
.withdrawal-notice {
  background-color: #fff8f8;
  border: 1px solid #ffcccc;
  border-radius: 5px;
  padding: 15px;
  margin-top: 20px;
}

/* ==========================================================================
   4. DASHBOARD STYLES
   ========================================================================== */
.news-list {
  max-height: 200px;
  overflow-y: auto;
}

.news-list .news-item {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.news-list .news-item:last-child {
  border-bottom: none;
}

.chart-container {
  height: 200px;
  background-color: #f8f9fa;
  border-radius: 5px;
  margin-bottom: 10px;
}

.quick-link {
  height: 100px;
  background-color: #f1f8ff;
  border: 1px solid #0066cc;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.quick-link:hover {
  background-color: #e6f3ff;
  transform: translateY(-3px);
}

/* ==========================================================================
   5. HELP PAGE STYLES
   ========================================================================== */
.video-container {
  background-color: #eeeeee;
  height: 300px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-item {
  background-color: #f8f9fa;
  border: 1px solid #eeeeee;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
}

/* ==========================================================================
   6. CARDS & GENERAL UI
   ========================================================================== */
.card {
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 15px 20px;
}

.card-title {
  margin-bottom: 0;
  font-size: 18px;
}

.card-info {
  margin-bottom: 10px;
}

/* ==========================================================================
   7. INDEX PAGE
   ========================================================================== */
/* Hero Section */
.bg-hero-img {
  background-image: url("../img/bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Worries Section */
.worries-marker {
  background: linear-gradient(transparent 65%, #ffe369 0);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--main-color);
}

.worries-img-01 {
  top: 80px;
  left: 50px;
  width: 230px;
}

.worries-img-02 {
  top: 380px;
  left: 80px;
  width: 230px;
}

.worries-img-03 {
  top: 230px;
  right: 20px;
  width: 230px;
}

.triangle-element-1 {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-top: 50px solid var(--sub-color);
}

.triangle-element-2 {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-top: 50px solid var(--base-color);
}

/* CTA Styles */
.before-cta::before,
.before-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 3px;
  background-color: #fff;
}

.before-cta.cta-bk::before,
.before-cta.cta-bk::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: #000000;
}

.before-cta::before {
  left: -40px;
  transform: translateY(-50%) rotate(45deg);
}

.before-cta.cta-bk::before {
  left: -30px;
  transform: translateY(-50%) rotate(45deg);
}

.before-cta::after {
  right: -40px;
  transform: translateY(-50%) rotate(-45deg);
}

.before-cta.cta-bk::after {
  right: -30px;
  transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 992px) {
  .worries-img-01 {
    top: 120px;
    left: 50px;
    width: 230px;
  }

  .worries-img-02 {
    top: 450px;
    left: 80px;
    width: 230px;
  }

  .worries-img-03 {
    top: 300px;
    right: 20px;
    width: 230px;
  }
}

@media (max-width: 768px) {
  .worries-img-01 {
    top: auto;
    bottom: -100px;
    left: 25px;
    width: 140px;
  }

  .worries-img-02 {
    top: auto;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
  }

  .worries-img-03 {
    top: auto;
    bottom: -100px;
    right: 25px;
    width: 140px;
  }
}

/* Service Section */
@media (max-width: 767.98px) {
  .service-img {
    width: 60px;
  }
}

/* ==========================================================================
   8. FORM ELEMENTS & CHECKBOXES
   ========================================================================== */
.terms-checkbox,
.privacy-checkbox {
  pointer-events: none;
  opacity: 0.5;
}

.terms-checkbox.enabled,
.privacy-checkbox.enabled {
  pointer-events: auto;
  opacity: 1;
}

.terms-checkbox:not(.enabled) + label,
.privacy-checkbox:not(.enabled) + label {
  cursor: not-allowed;
}

.terms-checkbox.enabled + label,
.privacy-checkbox.enabled + label {
  cursor: pointer;
}

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  margin-top: 0.25em;
  border: 2px solid #555;
  background-color: white;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.4);
  border-color: #0d6efd;
}

.terms-checkbox:not(.enabled),
.privacy-checkbox:not(.enabled) {
  pointer-events: none;
  opacity: 0.2;
  cursor: not-allowed;
}

.form-check-label {
  padding-left: 0.5rem;
  font-weight: 500;
}

#paymentButton.disabled {
  opacity: 0.3;
}
/* ==========================================================================
   9. MEDIA LIST & ARTICLES
   ========================================================================== */
/* Media List */
.media-list {
  margin-bottom: 2rem;
}

.media-item {
  transition: all 0.3s ease;
}

.media-item:hover {
  background-color: var(--base-color);
}

.media-date {
  color: #666;
  min-width: 100px;
  font-size: 0.9rem;
}

.media-category {
  min-width: 70px;
}

.media-category .badge {
  font-weight: normal;
  padding: 5px 10px;
  font-size: 0.75rem;
}

.media-title {
  font-size: 0.95rem;
  line-height: 1.5;
}

.media-title a {
  font-weight: 500;
  display: block;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.media-title a:hover {
  color: var(--accent-color) !important;
}

hr {
  margin: 0.75rem 0;
}

.btn-outline-secondary i {
  font-size: 1.2rem;
  font-style: normal;
  transition: transform 0.3s ease;
}

.btn-outline-secondary:hover i {
  transform: translateX(5px);
}

/* Pagination */
.pagination .page-link {
  color: #666;
  border: none;
  margin: 0 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
  background-color: var(--main-color);
  color: white;
}

/* Article Content */
.article-content {
  margin-bottom: 3rem;
  line-height: 1.8;
  color: var(--font-base-color);
}

.article-header .badge {
  padding: 6px 12px;
}

.social-share a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-share a:hover {
  background-color: var(--font-base-color);
  color: white;
  border-color: var(--font-base-color);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
  border-left: 4px solid var(--main-color);
  padding-left: 1rem;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem;
  border-left: 4px solid var(--sub-color);
  padding-left: 1rem;
}

.article-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  border-left: 3px solid var(--base-color);
  padding-left: 1rem;
}

.article-content h5,
.article-content h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content ul li {
  list-style-type: disc;
}

.article-content ol li {
  list-style-type: decimal;
}

.article-content blockquote,
.blockquote {
  background-color: var(--bs-light);
  padding: 1.5rem;
  border-radius: 0.3rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #555;
  font-size: 1rem;
}

.article-content blockquote p,
.blockquote p {
  margin-bottom: 0;
}

.article-content blockquote footer,
.blockquote-footer {
  margin-top: 0.5rem;
  color: #777;
  font-size: 0.875em;
}

.article-content strong {
  font-weight: 700;
}

.article-content em {
  font-style: italic;
}

.article-content a {
  color: var(--main-color);
  text-decoration: underline;
}

.article-content a:hover {
  opacity: 0.8;
}

.article-content del,
.article-content s {
  text-decoration: line-through;
}

.article-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}

.article-content table th,
.article-content table td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

.article-content table thead th {
  background-color: var(--bs-light);
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  vertical-align: bottom;
}

.article-content table tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.article-content table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.article-navigation a {
  transition: all 0.3s ease;
}

.article-navigation a:hover {
  color: var(--accent-color) !important;
}

.article-cta {
  background-color: var(--base-color);
  border-left: 4px solid var(--accent-color);
}

.related-articles .card {
  transition: all 0.3s ease;
}

.related-articles .card:hover {
  transform: translateY(-5px);
}

/* ==========================================================================
   10. CONTACT FORM (WP CONTACT FORM 7)
   ========================================================================== */
.wpcf7 form {
  margin: 0;
}

.wpcf7 label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  margin: 0;
}

.wpcf7 select {
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.wpcf7 textarea {
  min-height: 150px;
}

.wpcf7 .form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5em;
  margin-bottom: 0.125rem;
}

.wpcf7 .form-check .form-check-input {
  float: left;
  margin-left: -1.5em;
  width: 1em;
  height: 1em;
  margin-top: 0.25em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid rgba(0,0,0,.25);
  appearance: none;
}

.wpcf7 .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.wpcf7 .wpcf7-submit {
  cursor: pointer;
  padding: 0.75rem 2.5rem !important;
  font-weight: 600 !important;
  border-radius: 50rem !important;
  line-height: 1.5 !important;
  font-size: 1rem !important;
  position: relative !important;
}

#submit-button::after {
  content: "\F661";
  font-family: "bootstrap-icons" !important;
  margin-left: 0.5rem;
  display: inline-block;
}

.wpcf7-response-output {
  margin: 1rem 0 !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.375rem !important;
  width: 100% !important;
  clear: both !important;
  border: 1px solid #ccc !important;
}

.wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.wpcf7-spinner {
  position: absolute;
  margin: 0 auto;
  left: 50%;
  margin-top: 15px !important;
  transform: translateX(-50%);
}

.wpcf7 .wpcf7-list-item {
  margin: 0;
}

/* ==========================================================================
   11. LOGIN & MEMBER REGISTRATION
   ========================================================================== */
/* SWPM Login Widget */
.swpm-login-widget-form {
  width: 100%;
}

.swpm-login-widget-form .swpm-login-form-inner {
  display: flex;
  flex-direction: column;
}

.swpm-login-widget-form .swpm-username-label,
.swpm-login-widget-form .swpm-password-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.swpm-login-widget-form .swpm-text-field {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 1rem;
}

.swpm-login-widget-form .swpm-text-field:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.swpm-login-widget-form .swpm-remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.swpm-login-widget-form .swpm-remember-checkbox {
  margin-right: 0.5rem;
}

.swpm-login-widget-form .swpm-login-submit {
  text-align: center;
  margin: 2rem 0 1rem;
}

.swpm-login-widget-form .swpm-login-form-submit {
  background-color: var(--main-color);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 50rem;
  cursor: pointer;
}

.swpm-login-widget-form .swpm-forgot-pass-link,
.swpm-login-widget-form .swpm-join-us-link {
  margin: 0.5rem 0;
}

.swpm-login-widget-form .swpm-login-form-pw-reset-link,
.swpm-login-widget-form .swpm-login-form-register-link {
  text-decoration: underline;
  color: var(--main-color);
}

.swpm-login-widget-form .swpm-login-action-msg {
  margin-top: 1rem;
  text-align: center;
  color: var(--bs-danger, #dc3545);
}

/* Password Reset Form */
.swpm-pw-reset-widget-form {
  width: 100%;
}

.swpm-pw-reset-widget-form .swpm-pw-reset-widget-inside {
  display: flex;
  flex-direction: column;
}

.swpm-pw-reset-widget-form .swpm-pw-reset-email {
  margin-bottom: 0.5rem;
}

.swpm-pw-reset-widget-form .swpm_label {
  font-weight: 600;
}

.swpm-pw-reset-widget-form .swpm-text-field {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 1.5rem;
}

.swpm-pw-reset-widget-form .swpm-text-field:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.swpm-pw-reset-widget-form .swpm-pw-reset-submit-button {
  text-align: center;
  margin: 2rem 0 1rem;
}

.swpm-pw-reset-widget-form .swpm-pw-reset-submit {
  background-color: var(--main-color);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 50rem;
  cursor: pointer;
}

.swpm-pw-reset-widget-form .swpm-pw-reset-submit:hover {
  opacity: 0.9;
}

.swpm_pass_reset_processing_msg_section {
  margin-top: 1rem;
  text-align: center;
}

#swpm_pass_reset_processing_msg {
  position: relative;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0.375rem;
  color: #6c757d;
}

@keyframes fadeInOut {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

#swpm_pass_reset_processing_msg {
  animation: fadeInOut 1.5s infinite ease-in-out;
}

.swpm-pw-reset-widget-form::after {
  content: "";
  display: block;
  text-align: center;
  margin-top: 1rem;
}

.swpm-pw-reset-widget-form + p.login-link {
  text-align: center;
  margin-top: 1rem;
}

.swpm-pw-reset-widget-form + p.login-link a {
  color: var(--main-color);
  text-decoration: underline;
}

.step img {
  max-width: 750px;
}
.step-arrow {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}
.step-item.open .step-arrow {
  transform: rotate(180deg);
}

/* ステップアコーディオン */
.step-accordion {
  margin-top: 30px;
}

.step-item {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.step-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  align-items: center;
}

.step-header-content {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.step-icon {
  margin-right: 16px;
}

.step-icon .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6c757d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.step-item .step-icon .step-num {
  background: var(--main-color);
}

.step-info .step-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.step-info .step-description {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}

.step-arrow {
  transition: transform 0.3s ease;
}

/* 折りたたみ（初期状態） */
.step-content {
  display: none;
}

/* .open クラスがついたら展開 */
.step-item.open .step-content {
  display: block;
}

.step-content > div {
  padding: 0 20px 20px 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .step-progress .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .progress-line {
    display: none;
  }
  
  .step-indicator {
    flex-direction: row;
    gap: 12px;
  }
  
  .step-indicator .step-number {
    margin-bottom: 0;
  }
  
  .step-header {
    padding: 16px;
  }
  
  .step-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .step-icon {
    margin-right: 0;
  }
}
/* パスワード表示ボタンのスタイル */
.password-toggle-btn {
  border: none !important;
  background: none !important;
  color: #6c757d;
  padding: 0;
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: #495057;
}

.password-toggle-btn:focus {
  outline: none;
  box-shadow: none;
}

/* アイコンの表示調整 */
.password-toggle-btn i {
  font-size: 16px;
}

/* ==========================================================================
   12. COMPANY PAGE
   ========================================================================== */
.p-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .p-img {
    width: 80px;
    height: 80px;
  }
}

/* ==========================================================================
   13. RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 1200px) {
  .sidebar {
    position: relative;
    min-height: auto;
    height: auto;
  }
  
  .quick-link {
    height: 80px;
    margin-bottom: 10px;
  }
  
  .chart-container {
    height: 250px;
  }
}

@media (max-width: 1199.98px) {
  .main-container {
    padding-top: 85px;
  }
}

@media (max-width: 767.98px) {
  .article-navigation {
    flex-direction: column;
  }

  .article-navigation a:first-child {
    margin-bottom: 1rem;
  }

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

  .media-date,
  .media-category {
    font-size: 0.875rem;
  }

  .media-item {
    padding-left: 0;
    padding-right: 0;
  }
  
  .media-item {
    margin-bottom: 0.5rem;
  }

  .media-item .d-flex {
    flex-wrap: wrap;
  }

  .media-date {
    min-width: 80px;
    margin-right: 10px;
  }

  .media-category {
    min-width: auto;
    margin-right: 0;
  }

  .media-title {
    flex: 0 0 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .media-date,
  .media-category {
    font-size: 0.8rem;
  }

  .media-title {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .swpm-login-widget-form .swpm-text-field,
  .swpm-pw-reset-widget-form .swpm-text-field {
    max-width: 100%;
  }
  
  .swpm-login-widget-form .swpm-forgot-pass-link,
  .swpm-login-widget-form .swpm-join-us-link {
    display: inline-block;
  }
  
  .swpm-login-widget-form .swpm-forgot-pass-link {
    float: left;
  }
  
  .swpm-login-widget-form .swpm-join-us-link {
    float: right;
  }
  
  .swpm-login-widget-form::after {
    content: "";
    display: table;
    clear: both;
  }
}