@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");
/* Modern theme tokens */
:root{
  --color-bg:#f6f8fb;
  --color-surface:#ffffff;
  --color-text:#1f2937;
  --color-muted:#6b7280;
  --color-primary:#2563eb; /* blue-600 */
  --color-primary-600:#2563eb;
  --color-primary-700:#1d4ed8;
  --radius:10px;
  --shadow:0 6px 18px rgba(17,24,39,0.06);
  --shadow-lg:0 16px 40px rgba(17,24,39,0.08);
}
/* base styles */
body {
  /* slightly lighter, neutral background for better contrast */
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Offset fixed nav */
body{ padding-top: 85px; }

.App {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.w-none {
  max-width: none !important;
}

.primary {
  color: #1473c6 !important;
}

.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  border-radius: 8px;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.btn:focus-visible{outline:3px solid rgba(37,99,235,0.35); outline-offset:2px}
.btn-primary {
  background-color: var(--color-primary) !important; /* fresher blue */
  color: white;
  box-shadow: 0 6px 18px rgba(37,99,235,0.12);
  display: inline-flex;
}
.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,99,235,0.14);
}

.btn-danger {
  background-color: #a14d55;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
}
.btn-danger:hover {
  opacity: 0.8;
}

.bg-primary {
  background-color: #1473c6 !important;
}

.bg-badge {
  background-color: #dc3545;
  color: white;
}

.bg-tomato {
  background-color: tomato !important;
}

.bg-danger {
  background-color: #a14d55;
}

.bg-alert-danger {
  background-color: #f7d6d9;
  color: #8f444b;
}

.bg-info {
  background-color: #fff3cd;
}

.bg-default {
  background-color: #6c757d;
  color: white;
}

.bg-admin {
  background-color: #001F3F !important;
}

.bg-success {
  background-color: #28a745 !important;
}

.bg-successfull {
  background-color: #cce5ff !important;
  color: #0d4a8c !important;
  transition: opacity 0.3s;
}
.bg-successfull:hover {
  opacity: 0.8;
}

.bg-dark {
  background-color: black !important;
}

body::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

@media screen and (max-width: 600px) {
  .card {
    max-height: 600px !important;
    margin: 20px 0;
  }
  .card-image img {
    width: 100% !important;
    object-fit: fill;
  }
}
/* Gallery responsive rules (mobile-first) */
/* Base: single column */
.gallery{ grid-template-columns: 1fr; }
.gallery-desc{ border-top: 1px solid #eef2f7; border-left: 0; }
/* Two columns on wider viewports */
@media (min-width: 900px){
  .gallery{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gallery-desc{ border-left: 1px solid #eef2f7; border-top: 0; }
}
@media screen and (max-width: 300px) {
  .container {
    max-width: 300px !important;
    overflow-x: auto;
  }
  .container input[type=text], .container [type=email], .container textarea {
    color: rgba(128, 0, 128, 0.91) !important;
  }
}
/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 858px) {
  .flex-container {
    flex-direction: column !important;
  }
}
/* Legacy flex override not needed anymore for gallery (now grid based) */
@media (max-width: 858px) { .gallery { grid-template-columns: 1fr; } }
/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 600px) {
  .panel-admin {
    flex-direction: column !important;
  }
}
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  margin: 1rem;
  background-color: var(--color-surface);
  transition: box-shadow 0.2s ease, transform 0.12s ease;
  width: 300px;
  max-width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card img {
  width: 100%;
  height: auto;
  display: block;
}
.card-title {
  font-size: 1.2rem;
  margin-left: 4px;
  text-align: center;
  color: #1473c6;
  font-weight: bold;
}
.card-image {
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
  display: block;
}

/* Section wrapper for gallery: clean card layout */
.gallery {
  display: grid;
  grid-template-columns: 1fr; /* mobile-first; overridden at >=900px */
  gap: 0;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 24px 0;
}
.items { /* Constrain gallery list width */
  max-width: 1200px;
  margin: 0 auto;
  width: calc(100% - 40px);
}
.gallery-desc {
  background: var(--color-surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 0; /* becomes left border on desktop via media query */
}
.gallery-desc-text {
  padding: 24px;
}
.gallery-desc-link {
  padding: 24px;
}
.gallery-desc-link-btn {
  color: white !important;
  padding: 15px;
  width: fit-content;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
}
.gallery-desc-link-btn:hover {
  opacity: 0.8;
}
.gallery-desc-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 24px;
}
.gallery-desc-tag {
  color: white;
  padding: 4px 8px;
  text-align: center;
  border-radius: 5px;
  font-weight: bold;
  margin-right: 1rem;
  margin-top: 1rem;
}
.gallery-desc-tag:hover {
  opacity: 0.8;
  background-color: #28a745;
  color: white;
}
.gallery-image {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}
.gallery-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .25s ease, opacity .2s ease;
}
.gallery-image img:hover { transform: scale(1.02); opacity: .96; }
.gallery-img-title { color: #0f172a; padding: 16px 20px 8px; text-align: left; }
.gallery-desc-link{ display:flex; gap:12px; align-items:center; }
.gallery-desc-link-btn{ display:inline-flex; align-items:center; gap:8px; }

* {
  font-family: "Quicksand";
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

.wrapper {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface);
  max-width: 1200px;
  width: calc(100% - 40px);
  margin: 20px auto;
  padding: 0 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Generic container for inner content on main pages */
.container,
.page-container{
  max-width: 1200px;
  margin: 0 auto;
  width: calc(100% - 40px);
}

.content{ margin-top: 24px; }

/* Headings modernized slightly */
h1,h2,h3 {
  color: #0f172a;
  letter-spacing: -0.01em;
}
h1{font-size:clamp(1.8rem, 2.5vw, 2.4rem)}
h2{font-size:clamp(1.4rem, 2vw, 1.8rem)}

/* Hero / jumbotron panel refinement */
.jumbotron{ padding: 12px 0; }
.panel{
  background: linear-gradient(180deg, #ffffff, #fafbff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.panel-title{ margin-top: 0 }

/* Links */
a{ color: var(--color-primary); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* Forms */
input[type=text], input[type=email], input[type=password], textarea, select{
  border:1px solid #e5e7eb;
  border-radius: 8px;
  padding:10px 12px;
  transition: box-shadow .12s ease, border-color .12s ease;
}
input:focus, textarea:focus, select:focus{ outline:none; border-color: var(--color-primary-600); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

/* Tables */
table{ border-collapse: collapse; width:100%; }
th, td{ padding: 12px; border-bottom:1px solid #e5e7eb; }
thead th{ background:#f9fafb; color:#111827; font-weight:600 }

/* Cookie Consent modal */
.consent {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  color: #fff;
  padding: 10px;
  z-index: 1000;
}
.consent-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #747ce6;
  background-color: rgba(0, 0, 0, 0.5);
}
.consent-modal-text {
  color: #305a7d;
}
.consent-modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.consent-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: #747ce6;
  cursor: pointer;
}
.consent-modal-close:hover {
  cursor: pointer;
}
.consent-modal-accept {
  background: #51a060;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.consent-modal-accept:hover {
  opacity: 0.8;
}
.consent-modal-decline {
  background: #4b9bd8;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}
.consent-modal-decline:hover {
  opacity: 0.8;
}
.consent-modal-manage {
  background: #6c757d;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}
.consent-modal-manage:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .consent {
    font-size: 14px;
  }
}
/* UCP/ACP */
.profile {
  display: flex;
  flex-direction: column;
}
.profile-name {
  margin: auto;
}
.profile-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  margin-bottom: 2rem;
}

@media screen and (max-width: 900px) {
  .profile-row {
    margin-top: 2rem;
    flex-direction: column;
  }
}
.box {
  margin: auto;
  background: whitesmoke;
  border-radius: 6px;
  min-width: 250px;
  min-height: 150px;
  border: 1px solid #dadada;
}
.box-wrapper {
  display: flex;
  align-items: stretch;
  padding: 8px;
}
.box-wrapper a {
  color: #c7c0c0;
  font-weight: bolder;
}
.box-wrapper a:visited {
  color: #c7c0c0;
  font-weight: bolder;
}
.box-wrapper h2 {
  font-size: 14px;
  color: #1473c6;
  text-align: center;
  flex-grow: 1;
}
.box-wrapper p {
  border-bottom: 2px solid #1473c6;
}
.box-wrapper .fa {
  color: #6c757d;
  text-align: right;
  flex-grow: 8;
  font-size: 40px;
  margin-right: 2px;
}
.box:hover {
  opacity: 0.8;
}
.box:hover .fa {
  color: #1473c6;
}

/* ACP Info Grid Styles */
.acp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.acp-info-item {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.acp-info-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.acp-info-label {
  font-size: 0.98rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.acp-info-value {
  font-size: 1.15rem;
  color: #1e293b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.acp-info-value i {
  color: #64748b;
  margin-right: 0.4em;
  font-size: 1.1em;
}

/* Status badge styles */
.acp-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.75em;
  border-radius: 999px;
  font-size: 0.95em;
  font-weight: 600;
  margin-left: 0.5em;
  background: #e2e8f0;
  color: #334155;
}

.acp-status-online {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #34d399;
}

.acp-status-offline {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #f87171;
}

/* ACP Form Styles */
.acp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.acp-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.acp-form-label {
  font-size: 1rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

.acp-form-input,
.acp-form-select,
.acp-form-textarea {
  font-size: 1rem;
  padding: 0.65em 1em;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.acp-form-input:focus,
.acp-form-select:focus,
.acp-form-textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.acp-form-textarea {
  min-height: 60px;
  resize: vertical;
}

.acp-radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.acp-radio-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 0.5em 1em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.acp-radio-item.active,
.acp-radio-item input:checked + label {
  border-color: #6366f1;
  background: #e0e7ff;
}

.acp-radio-item input[type=radio] {
  accent-color: #6366f1;
  margin-right: 0.5em;
}

.acp-form .acp-form-group:last-child {
  margin-bottom: 0;
}

/* Button styles (if not already styled elsewhere) */
.acp-form button,
.acp-form input[type=submit] {
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.5em;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.acp-form button:hover,
.acp-form input[type=submit]:hover {
  background: #4f46e5;
}

/* Small helper text */
.acp-form small {
  color: #64748b;
  font-size: 0.95em;
  margin-top: 0.25em;
  display: block;
}

.acp-container {
  display: flex;
  flex-direction: row;
  margin-top: 2rem;
  max-width: 600px;
}

.acp-item-right {
  background-color: #D3D3D3;
  color: black;
  padding: 10px;
  flex: 50%;
  min-height: 300px;
  border-radius: 6px;
}

.acp-item-left {
  background-color: #D3D3D3;
  color: black;
  padding: 10px;
  flex: 50%;
  min-height: 300px;
  margin-right: 2rem;
  border-radius: 6px;
}

.acp-group {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.acp-item-label {
  margin-bottom: 4px;
}

.acp-item-wrapper {
  padding: 2rem;
}

.acp-item-wrapper h4 {
  color: rgb(97, 0, 255);
  font-weight: bold;
  text-align: center;
}

.acp-item-title {
  font-weight: bold;
  color: #e06c2b;
}

.acp-item-wrapper textarea {
  width: 100%;
  height: 150px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

.ucp-form {
  max-width: 600px;
  margin: 0 auto;
}

.acp-group {
  margin-bottom: 20px;
}

.acp-item-title {
  display: block;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  margin-top: 4px;
  margin-bottom: 8px;
}

.cnt-btn {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.cnt-btn:hover {
  background-color: #555;
}

@media screen and (max-width: 700px) {
  .acp-container {
    flex-direction: column;
  }
  .acp-item-left {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}
/* Jumbotron */
.jumbotron {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-right: 4px;
  flex-direction: row;
  padding: 40px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px; /* extra breathing room before next content, e.g., blog list */
}

.trial-modal-accept,
.trial-modal-close {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 5px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.trial-modal-accept:hover,
.trial-modal-close:hover {
  transform: scale(1.05);
}
.trial-modal-accept:active,
.trial-modal-close:active {
  transform: scale(0.95);
}

.trial-modal-accept {
  background-color: #28a745;
  color: #fff;
}
.trial-modal-accept:hover {
  background-color: rgba(40, 167, 70, 0.8666666667);
}
.trial-modal-accept:active {
  background-color: rgba(40, 167, 70, 0.8666666667);
}

.trial-modal-close {
  background-color: #a14d55;
  color: #fff;
}
.trial-modal-close:hover {
  background-color: #f5c6cb;
}
.trial-modal-close:active {
  background-color: #f5c6cb;
}

/* Section */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-right: 4px;
  flex-direction: row;
}

.container {
  display: flex;
  margin-bottom: 2rem;
  flex-direction: column;
  padding: 24px;
  width: 100%;
  background-color: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login {
  display: flex;
  background-color: var(--color-surface);
  margin-bottom: 10rem;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
}
.login-wrapper {
  padding: 10px;
}
.login-mail {
  flex: 100%;
  width: 100% !important;
  margin-bottom: 1rem;
}
.login-pw {
  flex: 100%;
  width: 100% !important;
  margin-bottom: 2rem;
}
.login-btn {
  background-color: #369;
  color: white;
  padding: 8px;
  font-size: 16px;
  font-weight: bolder;
  cursor: pointer;
  border: none;
  width: 100px;
  border-radius: 4px;
}
.login .login-fa {
  border: 1px solid #e3e5e7;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.login .login-fa .fa {
  background: #e9ecef;
  padding: 28px;
}
.login .login-fa input[type=email],
.login .login-fa input[type=password] {
  flex: 1;
  width: 90%;
  padding: 12px;
  font-weight: bold;
  font-size: 12px;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  border: none;
}
.login .login-fa input[type=email]:focus,
.login .login-fa input[type=password]:focus {
  outline: none;
}
.login .login-fa input[type=submit] {
  opacity: 0.8;
}

#pencil, #mailAdr, #firstName {
  display: none;
}

.cnt input[type=email], .cnt [type=text], .cnt textarea {
  width: 100%;
  padding: 12px;
  font-weight: bold;
  font-size: 12px;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}
.cnt-btn {
  margin-bottom: 2rem;
  cursor: pointer;
  color: white;
  font-weight: bold;
  padding: 15px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: none;
  width: 100px;
}
.cnt-btn:hover {
  opacity: 0.8;
}

.recaptcha-container {
  width: 100%; /* Set the width to 100% for responsiveness */
  box-sizing: border-box; /* Ensure padding is included in the total width */
}

/* Example using media queries for different screen sizes */
@media (max-width: 768px) {
  .recaptcha-container {
    padding: 5px; /* Adjust padding for smaller screens */
  }
}
.query {
  display: flex;
  margin-bottom: 2rem;
  flex-direction: column;
  padding: 24px;
  width: 100%;
  background-color: white;
  border-radius: 6px;
}
.query-info {
  border-left: 4px solid #a14d55;
}
.query-text {
  margin-left: 4px;
}
.query:hover {
  box-shadow: 8px 8px 5px rgba(14, 14, 14, 0.1);
}

.fa-line-chart {
  color: #28a745;
}

.christmas {
  display: flex;
  flex-direction: column;
  padding: 24px;
  width: 100%;
  background-image: url("/public/assets/images/christmasBg.png");
  background-size: cover;
}
.christmas-title {
  text-align: center;
  color: white !important;
  font-weight: bold;
  font-size: 24px;
}

.panel {
  display: flex;
  margin-bottom: 2rem;
  flex-direction: column;
  padding: 24px;
  width: 100%;
  background-color: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: bold;
  margin-right: auto;
}
.panel-link:hover {
  color: var(--color-primary-700);
  text-decoration: underline;
}
.panel-title { text-align: center; color:#0f172a; letter-spacing:-0.01em }
.panel-featured { background: transparent; box-shadow: none; padding: 0; max-width: 900px; margin: 0 auto; }
.panel-featured .panel-title{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; text-align: left; }
.panel-featured .panel-text{ font-size: 1.05rem; }
.panel-featured .panel-button{ margin-top: 12px; }
.panel-form {
  width: 50%;
  height: auto;
  margin-left: 1rem;
}
.panel-col {
  display: flex;
  flex-direction: row;
  margin-bottom: 2rem;
}
@media screen and (max-width: 600px) {
  .panel .panel-col {
    flex-direction: column;
  }
  .panel-form {
    width: 100%;
    margin-left: 0;
  }
  .panel .panel-table {
    width: 100%;
  }
  .panel .panel-table-view {
    width: 100%;
  }
}
.panel-table {
  overflow-x: auto;
  width: 50%;
  margin-bottom: 1rem;
}
.panel-table th {
  background-color: #1473c6;
  color: white;
  padding: 8px;
}
.panel-table td {
  padding: 8px;
}
.panel-table tr:nth-child(even) {
  background-color: #f2f2f2;
}
@media screen and (max-width: 600px) {
  .panel-table-table {
    width: 100%;
  }
  .panel-table th, .panel-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .panel-table th {
    text-align: left;
  }
  .panel-table tr {
    margin-bottom: 0.625rem;
  }
}
.panel-acc {
  border-radius: 4px;
  margin-top: 2rem;
  background-color: #f2f2f2;
}
.panel-acc-wrapper {
  padding: 2rem;
}
.panel-acc-link {
  color: purple;
  text-decoration: underline;
}
.panel-acc:hover {
  opacity: 0.8;
}
.panel-data li {
  margin-top: 8px;
}
.panel-data-customer {
  background-color: #6c757d;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  padding: 4px;
}
.panel-data-head {
  background-color: #dc3545;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  padding: 4px;
}
.panel-data-senior {
  background-color: #ffc107;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  padding: 4px;
}
.panel-data-admin {
  background-color: #1473c6;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  padding: 4px;
}
.panel-data-moderator {
  background-color: #198754;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  padding: 4px;
}
.panel-create {
  display: flex;
  padding: 2rem;
}
.panel-create-btn {
  margin-left: auto;
  color: white;
  background-color: #28a745;
  padding: 12px;
  font-weight: bold;
  border-radius: 4px;
}
.panel-create-btn:hover {
  opacity: 0.8;
}
.panel-create-revert {
  margin-left: auto;
  color: white;
  background-color: #6c757d;
  padding: 12px;
  font-weight: bold;
  border-radius: 4px;
}
.panel-create-revert:hover {
  opacity: 0.8;
}
.panel-prod {
  list-style-type: none;
  padding: 0;
}
.panel-prod-host {
  background-color: #1473c6;
  color: white;
  font-weight: bold;
  padding: 4px;
  border-radius: 6px;
}
.panel-prod-label {
  font-weight: bolder;
}
.panel-prod li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}
.panel-prod li-item {
  font-weight: bold;
}
.panel-prod-purchase {
  display: flex;
  justify-content: center;
}
.panel-prod-buy {
  background-color: tomato;
  border: none;
  padding: 6px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-right: 2rem;
  border-radius: 4px;
}
.panel-prod-traffic {
  background-color: #1473c6;
  color: white;
  font-weight: bold;
  border: none;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
}
.panel-prod-site {
  background-color: white;
  border: 1px solid #1473c6;
  padding: 6px;
  border-radius: 4px;
  margin-left: 2rem;
  font-weight: bold;
  color: black;
}
.panel-prod-site:hover {
  background-color: rgb(237, 235, 235);
  border: 1px solid #305a7d;
}
.panel-prod-views {
  padding: 8px;
}
.panel-prod-overview {
  border-radius: 4px;
  margin-top: 1rem;
  background-color: black;
  color: white;
  max-height: 300px;
  overflow: auto;
}
.panel #id {
  padding: 2rem;
}
.panel .alert-info {
  border-left: 2px solid #a14d55;
  padding-left: 4px;
  font-weight: bold;
}
.panel-ucp {
  border: 1px solid #dadada;
}
.panel-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #f2eeee;
}
.panel-link {
  float: left;
}
.panel-link a {
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
.panel-link-active {
  color: #1473c6;
  font-weight: bold;
}
.panel-link a:hover {
  color: #305a7d;
}
.panel-avatar {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #dadada;
  padding: 2rem;
}
.panel-coll {
  flex-basis: 0; /* Set flex-basis to 0 */
  flex-grow: 1;
  border-right: 2px solid #e3e5e7;
  margin-left: 0px;
  line-height: 100%;
  text-align: center;
}
.panel-img {
  margin-left: 2rem;
  flex-basis: 0; /* Set flex-basis to 0 */
  flex-grow: 1; /* Set flex-grow to 1 */
}
.panel-action {
  flex-basis: 0; /* Set flex-basis to 0 */
  flex-grow: 1; /* Set flex-grow to 1 */
}
.panel-change {
  margin-top: 2rem;
  margin-right: 2rem;
  padding: 8px;
  color: #3d9dde;
  font-weight: bold;
  border: 1px solid black;
  border-radius: 4px;
  background-color: white;
}
.panel-change:hover {
  padding: 8px;
  color: rgb(2, 79, 147);
  font-weight: bold;
  border: 1px solid black;
  border-radius: 4px;
  background-color: rgb(227, 224, 224);
  cursor: pointer;
}
.panel-alt {
  border-radius: 8px;
  max-height: 100px;
}
.panel-h2 {
  font-size: 18px;
  margin-right: 2rem;
  color: #3d9dde !important;
  font-weight: bold;
}
.panel-clearfix {
  margin: 2rem;
}
.panel-span {
  color: white;
  font-weight: bolder;
  padding: 8px;
  border-radius: 6px;
  margin-right: 1rem;
}
.panel-title {
  color: slategrey;
  font-weight: bold;
}
.panel-mail {
  color: #1473c6;
}
.panel-button { color:white !important; padding:12px 16px; width: fit-content; border-radius: 8px; font-weight: 600; text-align:center; transition: transform .12s ease, box-shadow .12s ease; background-color: var(--color-primary); box-shadow: 0 6px 18px rgba(37,99,235,0.12); display:inline-flex; align-items:center; gap:8px }
.panel-button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(37,99,235,0.14);
}
.panel-text {
  margin-top: 10px;
  color: var(--color-muted) !important;
}
.panel-highlight {
  font-weight: bold;
  color: var(--color-primary-700);
}

/* Articles */
.articles-title{ margin: 8px 0 12px; color:#0f172a }
.flex-item-right .card{ margin-bottom: 1rem }
.panel-admin {
  display: flex;
  align-items: stretch;
  border-top: 2px dotted #305a7d;
}
.panel-sidebar {
  background-color: #f1f1f1;
  width: 100%;
}
.panel-item {
  margin: 10px;
  text-align: center;
}

.limit-w {
  max-width: 1200px;
}

.content {
  max-width: unset;
  margin: 24px auto 0;
  padding: 0;
  background-color: transparent;
}
.content h2 {
  color: slategrey;
}

/* Alert message */
.alert {
  height: auto;
  width: 100%;
  margin: 0;
  border-radius: 6px;
  transition: opacity 0.6s;
  margin-top: 1rem;
  border-right: 4px solid #1473c6;
}
.alert-wrapper {
  padding: 1rem;
}
.alert-wrapper-close {
  margin-left: 15px;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.alert-wrapper-close:hover {
  opacity: 0.8;
}
.alert-wrapper-ul, .alert-wrapper li {
  list-style-type: disc !important;
  margin-left: 1rem;
}

/* blog previews / list */
.flex-item-left {
  flex: 70%;
}

.flex-item-right {
  flex: 30%;
}

.lb {
  border-top: 1px solid #e5e7eb; /* subtle separator instead of dotted line */
  padding-top: 16px;
  margin-top: 8px;
}

.flex-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

/* Standalone sections on home */
.articles-section{ max-width: 980px; margin: 8px auto 28px; }
.projects-section{ max-width: 1200px; margin: 0 auto 40px; }

.articles {
  max-width: 680px;
}
.articles article {
  display: inline;
}

#wrapper {
  margin: 0 auto;
  display: block;
  width: 50%;
}

#pagination {
  margin: 0;
  padding: 0;
  text-align: center;
}

#pagination li {
  display: inline;
}

#pagination li a {
  display: inline-block;
  text-decoration: none;
  padding: 5px 10px;
  color: #000;
}

.articles-title {
  padding: 8px;
}

/* View all link under recent articles */
.articles-viewall{ display:inline-flex; align-items:center; gap:8px; margin-top:8px; color: var(--color-primary); font-weight:600; text-decoration:none }
.articles-viewall:hover{ text-decoration:underline; }

.support {
  display: flex;
  flex-direction: column;
  padding: 24px;
  height: 300px;
  width: 100%;
  background-color: #f7f7f7;
}
.support-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.support-header {
  height: 60px;
}
.support-title {
  text-align: center;
  margin: auto;
  padding: 8px;
}
.support-body {
  background-color: white;
  overflow: auto;
  flex-grow: 1;
  padding: 10px 16px;
  margin-bottom: 2rem;
  min-height: 100px;
}
.support-footer {
  bottom: 0;
  width: 100%;
}
.support-btn {
  background-color: #28a745;
  color: white;
  padding: 12px;
  border-radius: 4px;
  font-weight: bold;
}
.support-btn:hover {
  opacity: 0.8;
}

.blog {
  margin-bottom: 1.25rem;
  border: 1px solid #eef1f5;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: var(--color-surface);
  box-shadow: var(--shadow);
}
.blog-unique {
  color: black !important;
}
.blog .fa-heart {
  color: #999999;
}
.blog .fa-heart:hover {
  cursor: pointer;
  color: #FF0000;
}
.blog .fa-heart.liked {
  color: red; /* Change the color to red */
}
.blog .like-button {
  border: none;
  background: #f7f7f7;
}
.blog-header {
  min-height: 56px;
  display: flex;
  align-items: center;
}
.blog-title {
  text-align: left;
  margin: 0;
  padding: 12px 16px;
}
.blog-body {
  background-color: white;
  overflow: hidden;
  flex-grow: 1;
  padding: 10px 16px 16px;
  max-height: 140px;
  position: relative;
}
.blog-body:after{
  content: "";
  position: absolute;
  left:0; right:0; bottom:0;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,1));
}
.blog-cta{ padding: 0 16px 8px; }
.blog-readmore{ box-shadow: 0 2px 8px rgba(37,99,235,0.12); }
.blog-text {
  text-decoration: none;
}
.blog-username {
  flex: 50%;
}
.blog-author {
  color: white;
  padding: 4px 8px;
  text-align: center;
  border-radius: 5px;
  font-weight: bold;
}
.blog-timestamp {
  flex: 30%;
  text-align: right;
  margin-right: 1rem;
}

/* Blog page (full content) */
.blog.f-100 .blog-body{ max-height: none; overflow: visible; }
.blog.f-100 .blog-body:after{ display: none; }

/* Constrain blog page width */
.blog-list{ max-width: 760px; margin: 0 auto; }

/* Projects column spacing */
.flex-item-right{ display:flex; flex-direction:column; gap: 16px; }
.flex-item-right .card{ width: 100%; margin: 0; }
.blog-date {
  float: right;
  color: #6c757d;
}
.blog-footer {
  bottom: 0;
  width: 100%;
}
.blog-details-wrapper {
  padding: 12px;
  display: flex;
}

.blog:hover {
  box-shadow: 8px 8px 5px rgba(14, 14, 14, 0.1);
}

/* ******************************** */
/* Snowflake effect */
.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial;
  text-shadow: 0 0 1px #000;
}

@-webkit-keyframes snowflakes-fall {
  0% {
    top: -10%;
  }
  100% {
    top: 100%;
  }
}
@-webkit-keyframes snowflakes-shake {
  0% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  50% {
    -webkit-transform: translateX(80px);
    transform: translateX(80px);
  }
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@keyframes snowflakes-fall {
  0% {
    top: -10%;
  }
  100% {
    top: 100%;
  }
}
@keyframes snowflakes-shake {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(80px);
  }
  100% {
    transform: translateX(0px);
  }
}
.snowflake {
  position: fixed;
  top: -10%;
  z-index: 9999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
  -webkit-animation-name: snowflakes-fall, snowflakes-shake;
  -webkit-animation-duration: 10s, 3s;
  -webkit-animation-timing-function: linear, ease-in-out;
  -webkit-animation-iteration-count: infinite, infinite;
  -webkit-animation-play-state: running, running;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-play-state: running, running;
}

.snowflake:nth-of-type(0) {
  left: 1%;
  -webkit-animation-delay: 0s, 0s;
  animation-delay: 0s, 0s;
}

.snowflake:nth-of-type(1) {
  left: 10%;
  -webkit-animation-delay: 1s, 1s;
  animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(2) {
  left: 20%;
  -webkit-animation-delay: 6s, 0.5s;
  animation-delay: 6s, 0.5s;
}

.snowflake:nth-of-type(3) {
  left: 30%;
  -webkit-animation-delay: 4s, 2s;
  animation-delay: 4s, 2s;
}

.snowflake:nth-of-type(4) {
  left: 40%;
  -webkit-animation-delay: 2s, 2s;
  animation-delay: 2s, 2s;
}

.snowflake:nth-of-type(5) {
  left: 50%;
  -webkit-animation-delay: 8s, 3s;
  animation-delay: 8s, 3s;
}

.snowflake:nth-of-type(6) {
  left: 60%;
  -webkit-animation-delay: 6s, 2s;
  animation-delay: 6s, 2s;
}

.snowflake:nth-of-type(7) {
  left: 70%;
  -webkit-animation-delay: 2.5s, 1s;
  animation-delay: 2.5s, 1s;
}

.snowflake:nth-of-type(8) {
  left: 80%;
  -webkit-animation-delay: 1s, 0s;
  animation-delay: 1s, 0s;
}

.snowflake:nth-of-type(9) {
  left: 90%;
  -webkit-animation-delay: 3s, 1.5s;
  animation-delay: 3s, 1.5s;
}

/*# sourceMappingURL=styles.css.map */

/*# sourceMappingURL=styles.css.map */
