﻿  #russia-visa-calculator {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px 24px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
  }

  #russia-visa-calculator h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.6rem;
  }

  #russia-visa-calculator h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
  }

  #russia-visa-calculator p {
    margin: 0 0 10px;
    line-height: 1.5;
  }

  .visa-intro {
    font-size: 0.95rem;
    color: #555;
  }

  .visa-help {
    font-size: 0.9rem;
    color: #666;
  }

  .visa-disclaimer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #777;
  }

  .visa-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
  }

  .visa-row label {
    font-weight: 500;
    font-size: 0.95rem;
  }

  .visa-row input[type="date"] {
    max-width: 260px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
  }

  .visa-row small {
    font-size: 0.8rem;
    color: #777;
  }

  .visa-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 8px;
    font-size: 0.9rem;
  }

  .visa-table th,
  .visa-table td {
    border: 1px solid #e1e1e1;
    padding: 6px;
    text-align: left;
  }

  .visa-table th {
    background: #f7f7f7;
    font-weight: 600;
  }

  .visa-table input[type="date"] {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
  }

  .visa-table .remove-trip-btn {
    border: none;
    background: transparent;
    color: #c0392b;
    cursor: pointer;
    font-size: 0.9rem;
  }

  .visa-actions {
    margin-top: 16px;
  }

  .visa-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 4px;
  }

  .visa-btn.primary {
    background: #0077c8;
    color: #fff;
  }

  .visa-btn.secondary {
    background: #f2f4f7;
    color: #333;
    margin-right: 10px;
  }

  .visa-btn.primary:hover {
    background: #005fa0;
  }

  .visa-btn.secondary:hover {
    background: #e2e6ec;
  }

  .visa-result {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
  }

  .visa-result.success {
    display: block;
    background: #e8f7ec;
    border: 1px solid #b7e1c2;
    color: #256128;
  }

  .visa-result.warning {
    display: block;
    background: #fff6e5;
    border: 1px solid #f3d19c;
    color: #8a5b13;
  }

  .visa-result.error {
    display: block;
    background: #fdecea;
    border: 1px solid #f5b4aa;
    color: #a1271d;
  }

  @media (max-width: 600px) {
    #russia-visa-calculator {
      padding: 16px;
    }

    .visa-row input[type="date"] {
      max-width: 100%;
    }
  }