@import url('/styles/dark-theme.css');

input:focus {
    outline: none;
}

.bruker-container {
    display: flex;
    padding: 40px;
    flex: 1;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

.kjøps-container {
    display: none;
    height: 100%;
}

.login-container, .registration-container {
    margin-top: 40px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    background-color:#e6e6e6;
    padding: 20px 75px;
}

.user-container {
    display: none;
}

.registration-container {
    display: none;
}

.wrapper {
    width: 250px;
}

#loginForm {
}

#registrationForm {
}

#loginForm input[type="username"], #loginForm input[type="password"], #registrationForm input[type="username"], #registrationForm input[type="password"] {
    width: 100%;
    height: 2rem;
    text-align: 50px;
    padding-left: 7px;
}

#loginForm input[type="submit"], #registrationForm input[type=submit] {
    line-height: 2rem;
    display: block;
    background: repeating-linear-gradient(to bottom left, rgb(75, 102, 255), rgb(97, 182, 207));
    border-radius: 12px;
    border-color: #c9c9c9;
    border: none;
    outline: none;
}
#login-button {
    width: 90%;
    margin: 0 auto;
}

#loginForm input[type="submit"]:hover, #registrationForm input[type=submit]:hover {
    cursor: pointer;
    outline: none;
    background: repeating-linear-gradient(to bottom left, rgb(62, 89, 241), rgb(66, 141, 163));
}

.show-registration {
    margin: 20px auto 0 auto;
    line-height: 1.5rem;
    display: block;
    width: 100%;
    max-width: 80%;
    text-align: center;
    background: repeating-linear-gradient(to top right, rgb(240, 181, 53), rgb(245, 181, 43));
    border-radius: 12px;
    border-color: #c9c9c9;
    border: none;
    outline: none;
}
#registration-button {
    margin: 30px auto 0 auto;
    width: 90%;
}

.lost-password {
    width: 100%;
    text-align: center;
    margin: 7px 0;
}

.lost-password a {
    line-height: 2rem;
    color: rgb(50, 126, 69);
    text-decoration: none;
}

.lost-password a:hover {
    color: rgb(13, 82, 29);
}

#loginForm, #registrationForm {
}

#loginForm label, #registrationForm label {
    display: block;
    margin: 15px 0px 2px 0px;
}

.bruker-nav {
    height: 30px;
    display: flex;
    align-items: center;
}

.bruker-nav_ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding-left: 0;
    height: 100%;
    flex: 1;
}

.bruker-nav_ul li {
    display: flex;
    align-items: center;
    padding: 0 40px;
    height: 100%;
    background-color: lightgray;
    user-select: none;
}

.bruker-nav_ul li:hover {
    background-color: #c9c9c9;
}

.brukerDiv {
    margin: 40px 40px;
    display: none;
    max-width: 397.5px;
    width: 100%;
}

.adresse-input-ul {
    list-style: none;
    padding-left: 0;
    line-height: 1.5;
    width: 100%;
    max-width: 360px;
}

.adresse-input-ul li {
    padding: 5px 0;
}

.adresse-input-li {
    display: flex;
    justify-content: space-between;
}

.adresse-input {
    margin: 0 10px;
    padding: 0 10px;
    height: 24px;
}
.adresse-input-ul li:last-child {
    position: relative;
}
.form-submit-button {
    position: absolute;
    left: 100%;
}

#submit {
    margin-left: 300px;
}

.clearDetails {
    padding: 15px;
    margin-left: 500px;
}

/* alert box */
.custom-alert {
    max-width: 250px;
    display: none;
    z-index: 1;
    margin-top: 20px;
    overflow: auto; /* Enable scroll if needed */
    justify-content: center; /* Center horizontally */
}

.alert-content {
    background-color: #f3f3f3;
    margin: 20px; /* margin from all sides */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Shadow effect */
    border: 1px solid #e4e4e4;
    height: 100px; /* Set a fixed height */
    position: relative; /* To position the close button correctly */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-alert {
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 10px;
    line-height: 1;
    cursor: pointer;
}

.close-alert:hover,
.close-alert:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
#alert-message {
    font-weight: bold;
    font-size: 1rem;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
}


/* Handlevogn - Modern Shopping Cart */
.handlevogn-main-container,
.wishlist-main-container {
    height: 100%;
    caret-color: transparent;
}

.content-header {
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

.handlevogn-title,
.wishlist-title {
    padding: 0;
    font-weight: 600;
    font-size: 1.75rem;
    color: #111827;
}

.handlevogn-subheader,
.wishlist-subheader {
    display: flex;
    padding: 1rem 1.5rem;
    width: 100%;
    border-bottom: solid 2px #e5e7eb;
    align-items: center;
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.handlevogn_subheader-left,
.wishlist_subheader-left {
    flex: 1 1 60%;
    padding-right: 15px;
}

.handlevogn_subheader-right,
.wishlist_subheader-right {
    display: flex;
    flex: 1 1 40%;
    padding-right: 15px;
}

.handlevogn-subheader-amount, .handlevogn-subheader-price, .handlevogn-subheader-total, .handlevogn-subheader-delete,
.wishlist-subheader-amount, .wishlist-subheader-price, .wishlist-subheader-total, .wishlist-subheader-delete {
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.handlevogn-subheader-amount,
.wishlist-subheader-amount {
    flex: 0 1 120px;
    text-align: center;
}

.handlevogn-subheader-price,
.wishlist-subheader-price {
    flex: 0 1 120px;
    text-align: right;
}

.handlevogn-subheader-total,
.wishlist-subheader-total {
    flex: 0 1 120px;
    text-align: right;
}

.handlevogn-subheader-delete,
.wishlist-subheader-delete {
    flex: 0 1 120px;
    text-align: right;
}

.handlevogn-items,
.wishlist-items {
    padding: 0;
    align-items: center;
    background: #ffffff;
}

.handlevogn-item,
.wishlist-item {
    min-height: 95px;
    display: flex;
    width: 100%;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.handlevogn-item:hover,
.wishlist-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.handlevogn-item:first-of-type,
.wishlist-item:first-of-type {
    padding: 1.5rem;
}

.handlevogn-item:not(:first-of-type),
.wishlist-item:not(:first-of-type) {
    padding: 1.5rem;
}

.handlevogn-item-left,
.wishlist-item-left {
    display: flex;
    flex: 1 1 60%;
    padding-right: 15px;
}

.handlevogn-item-picture,
.wishlist-item-picture {
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.handlevogn-item-link {
    display: block;
    text-decoration: none;
}

.handlevogn-item-picture img,
.wishlist-item-picture img {
    min-width: 100px;
}

.handlevogn-item-title-and-text,
.wishlist-item-title-and-text {
    padding-left: 1rem;
}

.handlevogn-item-title-link {
    text-decoration: none;
    color: #111827;
    font-weight: 600;
}

.handlevogn-item-title-link:hover {
    text-decoration: underline;
    color: #3b82f6;
}

.handlevogn-item-title,
.wishlist-item-title {
    font-size: 16px;
    padding-bottom: 5px;
}

.handlevogn-item-text,
.wishlist-item-text {
    font-size: 14px;
    color: #6b7280;
    margin: 4px 0;
}

.handlevogn-item-varenr,
.wishlist-item-varenr {
    font-size: 12px;
    color: #9ca3af;
    margin: 4px 0 0;
}

.handlevogn-item-varenr-value,
.wishlist-item-varenr-value {
    color: inherit;
}

.handlevogn-item-right,
.wishlist-item-right {
    display: flex;
    flex: 1 1 40%;
    padding-right: 15px;
}

.handlevogn-item-amount, .handlevogn-item-price, .handlevogn-item-div-total, .handlevogn-item-delete,
.wishlist-item-amount, .wishlist-item-price, .wishlist-item-div-total, .wishlist-item-delete {
    justify-content: center;
}

.handlevogn-item-amount,
.wishlist-item-amount {
    display: flex;
    flex: 0 1 120px;
    text-align: center;
    min-width: 60px;
    justify-content: center;
    align-items: center;
}

.handlevogn-item-amount button,
.wishlist-item-amount button {
    width: 25px;
}

.handlevogn-input-amount,
.wishlist-input-amount {
    flex: 0 1 120px;
    text-align: center;
    width: 45px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.handlevogn-item-price,
.wishlist-item-price {
    display: flex;
    flex: 0 1 120px;
    text-align: right;
    min-width: 60px;
    align-items: center;
    font-weight: 600;
    color: #059669;
}

.handlevogn-item-div-total,
.wishlist-item-div-total {
    display: flex;
    flex: 0 1 120px;
    text-align: right;
    min-width: 60px;
    align-items: center;
    font-weight: 700;
    color: #059669;
    font-size: 1.1rem;
}

.handlevogn-item-delete,
.wishlist-item-delete {
    display: flex;
    flex: 0 1 120px;
    text-align: right;
    min-width: 60px;
    align-items: center;
}

.handlevogn-item-delete-anchor,
.wishlist-item-delete-anchor {
    display: flex;
    flex: 0 1 120px;
    justify-content: center;
    align-items: center;
}

.handlevogn-item-delete-button {
    cursor: pointer;
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.handlevogn-item-delete-button:hover {
    background: #fee;
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

.handlevogn-footer {
    display: flex;
    padding: 1.5rem;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    border-top: 2px solid #e5e7eb;
}

.handlevogn-footer button {
    height: 40px;
    padding: 0 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.handlevogn-footer button:first-child {
    background: #ef4444;
    color: white;
}

.handlevogn-footer button:first-child:hover {
    background: #dc2626;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.betal {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 1.1rem;
    font-size: 16px;
    font-weight: 500;
    padding: 0 2.5rem !important;
    width: 120px;
    height: 40px !important;
}


.betal:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.SumPayment {
    font-size: 1.10rem;
    font-weight: 600;
    color: #111827;
    display: flex;
}

.SumPayment p {
    margin: 0;
}

.ønskelister-footer button {
    width: 160px;
    font-size: 16px;
    font-weight: 500;
}

.SumPayment {
    display: flex;
}

.ønskelister-footer {
    display: flex;
    padding: 1rem 0;
    width: 100%;
    border-bottom: solid 2px #c9c9c9;
    align-items: center;
    justify-content: space-between;
}

.handlevogn-footer-left,
.wishlist-footer-left {
    display: flex;
    height: 40px;
    flex: 1 1 60%;
    padding-right: 15px;
    justify-content: center;
}

.handlevogn-footer-right,
.wishlist-footer-right {
    display: flex;
    flex: 1 1 40%;
    padding-right: 15px;
}

.handlevogn-footer-amount, .handlevogn-footer-price, .handlevogn-footer-total, .handlevogn-footer-delete,
.wishlist-footer-amount, .wishlist-footer-price, .wishlist-footer-total, .wishlist-footer-delete {
    min-width: 60px;
    display: flex;
    align-items: center;
}

.handlevogn-footer-amount,
.wishlist-footer-amount {
    flex: 0 1;
    justify-content: center;
    text-align: center;
}

.handlevogn-footer-price,
.wishlist-footer-price {
    flex: 0 1;
    justify-content: end;
    text-align: right;
}

.handlevogn-footer-total,
.wishlist-footer-total {
    flex: 0 1 360px;
    justify-content: end;
    text-align: right;
}

.handlevogn-footer-delete,
.wishlist-footer-delete {
    flex: 0 1 60px;
    justify-content: end;
    text-align: right;
}

/* ===== Order History Table (Ordrehistorikk) ===== */

.ordre-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

.ordre-table thead tr {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.ordre-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.ordre-table th.text-right {
  text-align: right;
}

.ordre-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  color: #1f2937;
  vertical-align: middle;
}

.ordre-table td.text-right {
  text-align: right;
}

.ordre-table .ordre-row:hover {
    background: #f5f9ff;
}

.ordre-table .ordre-row {
    cursor: pointer;
    transition: background-color 0.16s ease;
}

.ordre-table .ordre-row:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: -2px;
}

.ordre-table .ordre-nummer {
  font-weight: 600;
  white-space: nowrap;
}

.ordre-nummer-pill {
    display: inline-block;
    min-width: 72px;
    padding: 0;
    color: #4b5563;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ordre-table .ordre-dato {
  color: #6b7280;
  white-space: nowrap;
}

.ordre-table .ordre-produkter {
  color: #374151;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ordre-table .ordre-total {
  font-weight: 600;
  white-space: nowrap;
}

.ordre-status {
    white-space: nowrap;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    justify-content: flex-start;
}

.status-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
}

.status-sent .status-icon {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
}

.status-sent .status-text {
    color: #166534;
}

.status-pending .status-icon {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #6b7280;
}

.status-pending .status-text {
    color: #4b5563;
}

.status-processing .status-icon {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    position: relative;
    font-size: 0;
}

.status-processing .status-icon::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d97706;
}

.status-processing .status-text {
    color: #92400e;
}

.status-processing .status-text {
    color: #4b5563;
}

.status-packed .status-icon {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #b45309;
}

.status-packed .status-text {
    color: #92400e;
}

.status-delivered .status-icon {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1d4ed8;
}

.status-delivered .status-text {
    color: #1e40af;
}

.status-cancelled .status-icon {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
}

.status-cancelled .status-text {
    color: #b91c1c;
}

@media (max-width: 600px) {
  .ordre-table .ordre-produkter {
    max-width: 120px;
  }
}

/* ===== Checkout Overlay ===== */

#checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.checkout-modal {
  background: #fff;
  border-radius: 10px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  position: relative;
}

.checkout-modal h2 {
  margin: 0 0 16px;
  font-size: 1.4rem;
}

.checkout-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #6b7280;
  padding: 4px 8px;
}

.checkout-close:hover {
  color: #111;
}

.checkout-user {
  color: #374151;
  margin-bottom: 16px;
}

.checkout-products-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px;
}

.checkout-products-table th,
.checkout-products-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.checkout-products-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.checkout-products-table .text-center { text-align: center; }
.checkout-products-table .text-right  { text-align: right; }

.checkout-total {
  text-align: right;
  font-size: 1.1rem;
  margin: 8px 0 16px;
  padding-top: 8px;
  border-top: 2px solid #e5e7eb;
}

.checkout-payment-info {
  background: #f3f4f6;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #6b7280;
}

.checkout-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.checkout-btn-primary {
    background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
}

.checkout-btn-primary:hover {
    background: #1e3a8a;
}

.checkout-btn-primary:disabled {
  background: #93c5fd;
  cursor: not-allowed;
}

.checkout-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
}

.checkout-btn-secondary:hover {
  background: #e5e7eb;
}

/* ===== Checkout Success ===== */

.checkout-success {
  text-align: center;
  padding: 48px 24px;
}

.checkout-success-icon {
  width: 64px;
  height: 64px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.checkout-success h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.checkout-success p {
  color: #374151;
  margin-bottom: 8px;
}

.checkout-success p a {
    color: #1d4ed8;
}

.checkout-success a.checkout-btn-primary {
    color: #fff;
}


/* ============================================================
   KUNDESERVICE SYSTEM
   ============================================================ */

.kundeservice-container {
    display: none;
}

/* Tabs */
.ks-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e5e7eb;
    margin: 16px 0 28px 0;
    flex-wrap: wrap;
}

.ks-tab {
    padding: 10px 18px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.ks-tab:hover { color: #1f2937; }
.ks-tab.active {
    color: #ffc300;
    border-bottom-color: #ffc300;
}

/* Section intro */
.ks-section-intro {
    margin-bottom: 20px;
    color: #4b5563;
    font-size: 15px;
}

.ks-link-btn {
    background: none;
    border: none;
    color: #1d4ed8;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    text-decoration: underline;
}

/* FAQ */
.faq-category { margin-bottom: 28px; }

.faq-category-title {
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item { border-bottom: 1px solid #f3f4f6; }

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 13px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.15s;
}

.faq-question::after {
    content: '+';
    font-size: 18px;
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] { color: #ffc300; }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); color: #ffc300; }

.faq-answer {
    display: none;
    padding: 0 0 14px 0;
}

.faq-answer p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.65;
}

/* Forms */
.ks-form { display: flex; flex-direction: column; gap: 16px; }

.ks-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ks-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ks-form-group.ks-full-width { grid-column: 1 / -1; }

.ks-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.ks-form-group input,
.ks-form-group select,
.ks-form-group textarea {
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.ks-form-group input:focus,
.ks-form-group select:focus,
.ks-form-group textarea:focus {
    border-color: #ffc300;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.15);
    outline: none;
}

.ks-form-group textarea { resize: vertical; min-height: 120px; }

.ks-char-count {
    font-size: 12px;
    color: #9ca3af;
    text-align: right;
}

.required { color: #ef4444; }
.optional { color: #9ca3af; font-weight: 400; }

.ks-submit-btn {
    align-self: flex-start;
    padding: 11px 28px;
    background: linear-gradient(135deg, #ffc300 0%, #ff9500 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.ks-submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.ks-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.ks-feedback {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.ks-feedback.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.ks-feedback.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Info panel */
.ks-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.ks-info-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.ks-info-icon { font-size: 32px; margin-bottom: 10px; }

.ks-info-card h3 {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #1f2937;
}

.ks-info-value {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.ks-info-value a { color: #1d4ed8; text-decoration: none; }
.ks-info-value a:hover { text-decoration: underline; }

.ks-info-note {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.ks-chat-btn {
    margin-top: 10px;
    padding: 7px 16px;
    background: #ffc300;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ks-chat-btn:hover { opacity: 0.85; }

.ks-hours-table-wrap { margin-bottom: 24px; }

.ks-hours-table-wrap h3 {
    font-size: 15px;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.ks-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ks-hours-table th {
    text-align: left;
    padding: 9px 12px;
    background: #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
    color: #374151;
    font-weight: 600;
}

.ks-hours-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.ks-weekend td { color: #9ca3af; }

.ks-response-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 14px;
}

.ks-response-banner span { font-size: 24px; }

.ks-response-banner p {
    margin: 4px 0 0 0;
    color: #6b7280;
}

@media (max-width: 640px) {
    .ks-form-row { grid-template-columns: 1fr; }
    .ks-tabs { gap: 2px; }
    .ks-tab { padding: 8px 12px; font-size: 13px; }
    .ks-info-grid { grid-template-columns: 1fr 1fr; }
}
