* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f7f7f7;
}

.tx-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 90px;
  background: linear-gradient(to right, #0a808b, #0a808b, #31042f);
}

.tx-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.tx-header__logo-wrap {
  display: flex;
  align-items: center;
}

.tx-header__logo img {
  display: block;
  height: 60px;
}

.tx-header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.tx-header__menu-toggle {
  display: none;
}

.tx-header__menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  margin-left: 16px;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.tx-header__menu-btn span {
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tx-header__nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tx-header__nav-item:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.tx-header__nav-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tx-header__nav-icon img {
  width: 100%;
  height: 100%;
}

.tx-header__nav-label {
  white-space: nowrap;
}

.tx-header__duyurular-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(10, 128, 139, 0.1);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

.tx-header__duyurular-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tx-header__duyurular-icon img {
  width: 100%;
  height: 100%;
}

.tx-header__duyurular-text {
  white-space: nowrap;
}

.tx-header__duyurular-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background-color: #00bcd4;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px 40px;
  background-color: #f7f7f7;
}

.tx-main__top {
  background-color: #ffffff;
  padding: 24px 24px 28px;
}

.tx-breadcrumb {
  margin-bottom: 8px;
}

.tx-breadcrumb__list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.tx-breadcrumb__item {
  display: flex;
  align-items: center;
}

.tx-breadcrumb__link {
  color: #138291;
  text-decoration: none;
}

.tx-breadcrumb__link:hover {
  text-decoration: underline;
}

.tx-breadcrumb__separator {
  color: #999999;
  padding: 0 2px;
}

.tx-breadcrumb__current,
.tx-breadcrumb__item--current {
  color: #6b6b6b;
}

.tx-page-title {
  font-size: 24px;
  font-weight: 600;
  color: #1f2933;
  margin-top: 8px;
}

.tx-info-box {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background-color: #e5f6fd;
  border-left: 4px solid #138291;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tx-info-box__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #138291;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.tx-info-box__text p {
  font-size: 14px;
  line-height: 1.6;
  color: #1f2933;
  margin-bottom: 4px;
}

.tx-info-box__toggle {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #138291;
  background-color: #e5f6fd;
  border-radius: 10px;
  padding: 0 4px;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

.tx-info-box--collapsed .tx-info-box__text {
  max-height: 60px;
  overflow: hidden;
  position: relative;
}

.tx-info-box--collapsed .tx-info-box__text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background: linear-gradient(to bottom, rgba(229, 246, 253, 0), #e5f6fd);
}

.tx-tabs {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 32px;
}

.tx-tab {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #6b6b6b;
  cursor: default;
}

.tx-tab--active {
  color: #138291;
  border-bottom: 2px solid #138291;
}

.tx-tabs-divider {
  margin: 16px 0 24px;
  height: 1px;
  background-color: #c5c5c5;
}

.tx-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.tx-card--tab + .tx-card--tab {
  margin-top: 16px;
}

.tx-card--hidden {
  display: none;
}

.tx-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.tx-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.tx-field label {
  font-weight: 500;
  color: #333333;
}

.tx-input,
.tx-select {
  height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
}

.tx-input:focus,
.tx-select:focus {
  outline: none;
  border-color: #138291;
  box-shadow: 0 0 0 1px rgba(19, 130, 145, 0.2);
}

.tx-input[disabled] {
  background-color: #f4f6f7;
  color: #555555;
  cursor: not-allowed;
}

.tx-security {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.tx-captcha-box {
  width: 120px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  background-color: #f4f6f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 2px;
  color: #333333;
}

.tx-icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #e8f5e9;
  color: #138291;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}

.tx-form-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.tx-button {
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.tx-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.tx-button--secondary {
  background-color: #b5aeb4;
  color: #ffffff;
}

.tx-button--primary {
  background-color: #34b1b0;
  color: #ffffff;
}

.tx-toplu-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tx-toplu-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2933;
}

.tx-form--toplu-header {
  margin-top: 8px;
}

.tx-toplu-excel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background-color: #f4f6f7;
}

.tx-toplu-excel__text h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tx-toplu-excel__text p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.tx-toplu-excel__action {
  margin-left: auto;
}

.tx-toplu-upload h3,
.tx-toplu-list h3,
.tx-toplu-odeme h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tx-upload-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed #c5c5c5;
  background-color: #fafafa;
}

.tx-upload-input {
  display: none;
}

.tx-upload-help {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}

.tx-toplu-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tx-toplu-table-wrap {
  max-height: 400px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

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

.tx-table th,
.tx-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e5e5e5;
}

.tx-table th {
  background-color: #f4f6f7;
  text-align: left;
  font-weight: 600;
}

.tx-table-empty {
  text-align: center;
  color: #777;
}

.tx-form--odeme {
  max-width: 400px;
}

.tx-form-actions--toplu {
  justify-content: flex-end;
  margin-top: 12px;
}

.tx-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.tx-modal--open {
  display: flex;
}

.tx-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.tx-modal__dialog {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  background-color: #ffffff;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.tx-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: linear-gradient(to right, #0a808b, #31042f);
  color: #ffffff;
}

.tx-modal__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.tx-modal__logo img {
  height: 36px;
}

.tx-modal__close {
  border: none;
  background: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.tx-modal__tabs {
  display: flex;
  gap: 24px;
  padding: 8px 24px 0;
  border-bottom: 1px solid #e0e0e0;
}

.tx-modal__notice {
  margin: 8px 24px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background-color: #fff3cd;
  color: #7a5a00;
  font-size: 13px;
  line-height: 1.4;
  display: none;
}

.tx-modal__notice--visible {
  display: block;
}

.tx-modal__tab {
  background: none;
  border: none;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: #6b6b6b;
}

.tx-modal__tab--active {
  color: #138291;
  border-bottom: 2px solid #138291;
}

.tx-modal__tab--disabled {
  opacity: 0.6;
  cursor: default;
}

.tx-modal__card-preview {
  padding: 16px 24px 8px;
  display: flex;
  justify-content: center;
}

.tx-card-preview {
  width: 320px;
  border-radius: 18px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

.tx-card-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tx-card-preview__brand img {
  height: 20px;
}

.tx-card-preview__label {
  font-size: 12px;
  font-weight: 600;
  color: #d32f2f;
}

.tx-card-preview__chip {
  width: 40px;
  height: 32px;
  border-radius: 6px;
  margin: 12px 0;
  background: linear-gradient(135deg, #f6d365, #fda085);
}

.tx-card-preview__number {
  font-family: 'SF Mono', ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.tx-card-preview__footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
}

.tx-card-preview__holder {
  font-weight: 600;
}

.tx-pay-form {
  padding: 8px 24px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
}

.tx-pay-form__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px 16px;
}

.tx-pay-form__expiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tx-form-actions--modal {
  justify-content: flex-end;
}

.tx-pay-info {
  padding: 0 24px 16px;
  font-size: 13px;
  color: #444;
}

.tx-pay-info ul {
  padding-left: 18px;
  margin-bottom: 6px;
}

.tx-pay-info__note {
  font-weight: 600;
}

.tx-card-logos {
  padding: 0 24px 18px 24px;
  display: flex;
  justify-content: flex-end;
}

.tx-card-logos img {
  height: 28px;
}

.tx-modal.tx-modal--3d .tx-modal__dialog {
  max-width: 480px;
}

.tx-3d {
  padding: 16px 24px 20px;
}

.tx-3d__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.tx-3d__info {
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 12px 14px;
  margin-bottom: 12px;
  background-color: #fafafa;
}

.tx-3d__info-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 4px;
}

.tx-3d__info-row:last-child {
  margin-bottom: 0;
}

.tx-3d__info-label {
  font-weight: 500;
  color: #555555;
}

.tx-3d__info-value {
  color: #111827;
  text-align: right;
}

.tx-3d__message {
  font-size: 13px;
  color: #444444;
  margin-bottom: 10px;
}

.tx-3d__form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tx-3d__label {
  font-size: 14px;
  font-weight: 500;
}

.tx-3d__input {
  text-align: center;
  letter-spacing: 3px;
}

.tx-3d__timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #444444;
  margin-top: 4px;
}

.tx-form-actions--3d {
  margin-top: 10px;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .tx-modal.tx-modal--3d .tx-modal__dialog {
    margin: 0 8px;
  }
}

@media (max-width: 900px) {
  .tx-header__inner {
    padding: 0 16px;
    gap: 16px;
  }

  .tx-header__nav {
    gap: 20px;
  }

  .tx-header__nav-label {
    font-size: 13px;
  }

  .tx-main {
    padding: 16px;
  }

  .tx-main__top {
    padding: 16px 16px 20px;
  }

  .tx-page-title {
    font-size: 20px;
  }

  .tx-form {
    grid-template-columns: 1fr;
  }

  .tx-form-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .tx-toplu-excel {
    flex-direction: column;
    align-items: flex-start;
  }

  .tx-toplu-excel__action {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .tx-header {
    height: auto;
  }

  .tx-header__inner {
    padding: 0 16px;
    height: 60px;
    position: relative;
    justify-content: space-between;
  }

  .tx-header__logo img {
    height: 48px;
  }

  .tx-header__menu-btn {
    display: flex;
  }

  .tx-header__nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #0a808b, #0a808b, #31042f);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 16px;
    gap: 16px;
    display: none;
  }

  .tx-header__nav-item {
    font-size: 13px;
  }

  .tx-header__duyurular-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .tx-header__menu-toggle:checked + .tx-header__menu-btn span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .tx-header__menu-toggle:checked + .tx-header__menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .tx-header__menu-toggle:checked + .tx-header__menu-btn span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .tx-header__menu-toggle:checked + .tx-header__menu-btn + .tx-header__nav {
    display: flex;
  }
}

/* Footer Styles */
.tx-footer {
  width: 100%;
  background: linear-gradient(to right, #0a808b, #0a808b, #31042f);
  color: #ffffff;
  padding: 50px 0;
  margin-top: 40px;
}

.tx-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.tx-footer__col {
  display: flex;
  flex-direction: column;
}

.tx-footer__gib-logo {
  height: 90px;
  max-width: 100%;
}

.tx-footer__col--links {
  display: flex;
  gap: 60px;
}

.tx-footer__link-group h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.tx-footer__link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tx-footer__link-group li {
  margin-bottom: 12px;
}

.tx-footer__link-group a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.tx-footer__link-group a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.tx-footer__col--contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tx-footer__vimer-logo {
  height: 80px;
}

.tx-footer__stores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tx-footer__stores img {
  height: 38px;
  display: block;
}

.tx-footer__feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #1a1a1a;
  background-color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s;
}

.tx-footer__feedback-btn img {
  width: 16px;
  height: 16px;
}

.tx-footer__feedback-btn:hover {
  background-color: #f0f0f0;
}

@media (max-width: 900px) {
  .tx-footer__col--links {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .tx-footer__inner {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
  }
  
  .tx-footer__gib-logo {
    height: 70px;
  }

  .tx-footer__stores {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ¦¦ Ýnteraktif Vergi Dairesi Badge (Bireysel Form) ¦¦ */
.tx-field--vd-static {
  margin-bottom: 0;
}

.tx-vd-static-badge {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #e0e0e0;
  pointer-events: none;
  user-select: none;
  height: 40px;
  min-height: unset;
}

.tx-vd-static-badge__text {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.38);
  white-space: nowrap;
}

/* ¦¦ Ýnteraktif Vergi Dairesi Badge (Toplu Form) ¦¦ */
.tx-toplu-vd-static {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 0 12px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #e0e0e0;
  pointer-events: none;
  user-select: none;
  height: 40px;
  min-height: unset;
}

.tx-toplu-vd-static__title {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.38);
  margin: 0;
}
