
/* ===============================
   GLOBAL RESET
   =============================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #eef2f7, #d9e4f5);
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #000;
}

/* ===============================
   HEADER
   =============================== */
header {
    margin-bottom: 20px;
}

.header-top {
    background: #1a73e8;
    color: #fff;
    text-align: center;
    padding: 28px 20px 18px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.header-top h1 {
    font-size: 26px;
}

.header-top p {
    margin-top: 8px;
    font-size: 15px;
    color: #e0ebff;
}

/* ===============================
   NAVIGATION
   =============================== */
nav {
    background: #111;
    text-align: center;
    padding: 12px 0;
    margin-bottom: 25px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #1a73e8;
}

/* ===============================
   MAIN LAYOUT
   =============================== */
.main-grid {
    display: flex;
    gap: 25px;
    padding: 0 20px 40px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: flex-start;
}

.info-column,
.calculator-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ===============================
   CARDS
   =============================== */
.info-card,
.calc-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover,
.calc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* ===============================
   INFO CONTENT
   =============================== */
.info-card ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style: disc;
}

.info-card li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

/* ===============================
   FORM ELEMENTS
   =============================== */
.calc-card label {
    display: block;
    font-weight: 600;
    margin-top: 14px;
    font-size: 14px;
}

.calc-card input,
.calc-card select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border 0.2s ease;
}

.calc-card input:focus,
.calc-card select:focus {
    outline: none;
    border-color: #1a73e8;
}

.calc-card button {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #1a73e8;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.calc-card button:hover {
    background: #1558c0;
}

.calc-card button:active {
    transform: scale(0.98);
}

/* ===============================
   RESULTS
   =============================== */
.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
    padding: 3px 0;
}

#payeResult,
#shifResult,
#vatResult {
    margin-top: 18px;
    background: #f7faff;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
}

.positive p {
    color: green;
}

.negative p {
    color: red;
}

canvas {
    margin-top: 18px;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Tablet & below */
@media (max-width: 1100px) {
    .main-grid {
        flex-direction: column;
    }

    .calculator-column {
        order: 1; /* Calculator appears first */
    }

    .info-column {
        order: 2;
    }
}

/* Mobile optimization */
@media (max-width: 768px) {

    /* Smaller blue header */
    .header-top {
        padding: 18px 15px 14px;
    }

    .header-top h1 {
        font-size: 20px;
    }

    .header-top p {
        font-size: 13px;
        margin-top: 6px;
    }

    nav {
        padding: 10px 0;
        margin-bottom: 20px;
    }

    nav a {
        margin: 0 8px;
        font-size: 13px;
    }

    .calc-card,
    .info-card {
        padding: 16px;
    }

    .calc-card button {
        padding: 12px;
        font-size: 15px;
    }
}
.adsbygoogle {
    min-height: 100px;
}
footer {
    text-align: center;
    padding: 25px 20px;
    font-size: 14px;
    color: #777;
    margin-top: 40px;
    background: #111;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 500;
    font-size: 14px;
}

.footer-links a:hover {
    color: #1a73e8;
}

/* ===============================
   BLOG PAGE
   =============================== */

.blog-card h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

.blog-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    text-decoration: none;
    background: #1a73e8;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
}

.read-more:hover {
    background: #1558c0;
    transform: translateY(-2px);
}

/* ===============================
   BLOG PAGE (Editorial Style)
   =============================== */

.blog-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px 60px;
}

.blog-header {
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.blog-header p {
    color: #666;
    font-size: 15px;
}

.blog-item {
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
}

.blog-item h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.blog-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.blog-item p {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
}

.blog-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #1a73e8;
    transition: color 0.2s ease;
}

.blog-link:hover {
    color: #1558c0;
}

/* ===============================
   BLOG ARTICLE PAGE
   =============================== */

.blog-article {
    max-width: 850px;
    margin: 50px auto;
    padding: 0 20px 60px;
}

.blog-article h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
}

.blog-article h2 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-size: 20px;
}

.blog-article p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.blog-article ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-article li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a73e8;
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-family: sans-serif;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
}

.cookie-banner a {
  color: #ffd700;
  text-decoration: underline;
}

.cookie-banner button {
  background: #ffd700;
  color: #1a73e8;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.result-card {
  background: #f1f3f6;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}

.result-card h3 {
  margin-bottom: 15px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.result-row span {
  color: #333;
}

.result-row.total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
  font-weight: bold;
}

