/* ============================================= */
/* COMPLETE CSS CODE - DO NOT REMOVE OR CHANGE   */
/* ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #a61e1e;
    --accent: #ef4444;
    --text: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #fef2f2;
    --border: #fecaca;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --hostinger-orange: #FAAE2C;
    --hostinger-dark: #0a0c15;
    --hostinger-purple: #1e1a2f;
    --fiverr-green: #1dbf73;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--background-alt);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-affiliate-bar {
    background: linear-gradient(95deg, #0a0c15 0%, #1e1a2f 100%);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #FAAE2C;
    height: auto;
    max-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-affiliate-bar i {
    color: #FAAE2C;
}

.top-affiliate-bar a {
    color: #FAAE2C;
    text-decoration: none;
    font-weight: 800;
    transition: 0.2s;
    border-bottom: 1px dotted #FAAE2C;
}

.top-affiliate-bar a:hover {
    color: #FFD966;
    border-bottom-color: #FFD966;
}

.top-affiliate-bar span {
    background: #FAAE2C20;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #FAAE2C;
}

.main-header {
    background: linear-gradient(135deg, #e74c3c 0%, #000000 100%);
    color: white;
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.header-content {
    position: relative;
    z-index: 2;
}

.main-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.main-header .subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.tool-with-banners {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    margin: -30px auto 30px;
    position: relative;
    z-index: 10;
    flex-wrap: nowrap;
}

.left-ad-column,
.right-ad-column {
    width: 190px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.left-ad-column .side-banner,
.right-ad-column .side-banner {
    width: 100%;
}

.side-banner {
    flex: 0 0 auto;
    background: linear-gradient(145deg, #0F172F, #0a0c1a);
    border-radius: 28px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 15px 25px -12px rgba(0,0,0,0.5);
    border: 1px solid rgba(250, 174, 44, 0.4);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.side-banner:hover {
    transform: translateY(-5px);
    border-color: #FAAE2C;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.6);
}

.side-banner .hostinger-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.side-banner .brand-name {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #FAAE2C;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.side-banner h4 {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FAAE2C, #F15F2B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}

.side-banner .website-count {
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 8px 0 4px;
    background: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
}

.side-banner .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FAAE2C;
    margin: 8px 0;
}

.side-banner .old-price {
    text-decoration: line-through;
    font-size: 0.7rem;
    color: #aaa;
}

.side-banner .btn-mini {
    display: inline-block;
    background: #FAAE2C20;
    border: 1px solid #FAAE2C;
    border-radius: 40px;
    padding: 7px 14px;
    font-size: 0.7rem;
    font-weight: bold;
    text-decoration: none;
    color: #FAAE2C;
    margin-top: 12px;
    transition: 0.2s;
}

.side-banner .btn-mini:hover {
    background: #FAAE2C;
    color: #0a0c15;
}

.fiverr-banner {
    background: linear-gradient(145deg, #0e2b1f, #163f2d);
    border: 1px solid rgba(29, 191, 115, 0.45);
    box-shadow: 0 15px 25px -12px rgba(5, 60, 30, 0.45);
}

.fiverr-banner:hover {
    border-color: var(--fiverr-green);
    box-shadow: 0 20px 30px -12px rgba(5, 60, 30, 0.55);
}

.fiverr-icon {
    font-size: 2rem;
    color: var(--fiverr-green);
    margin-bottom: 8px;
}

.fiverr-brand {
    color: var(--fiverr-green) !important;
}

.fiverr-title {
    background: linear-gradient(135deg, #8dffcb, #1dbf73) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

.fiverr-badge {
    display: inline-block;
    background: rgba(29, 191, 115, 0.14);
    color: #b9ffe1;
    border: 1px solid rgba(29, 191, 115, 0.4);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    margin: 10px 0 14px;
}

.fiverr-text {
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.fiverr-note {
    color: #d9ffee;
    font-size: 0.74rem;
    margin-top: 8px;
}

.fiverr-btn {
    background: rgba(29, 191, 115, 0.16) !important;
    border: 1px solid var(--fiverr-green) !important;
    color: #b9ffe1 !important;
}

.fiverr-btn:hover {
    background: var(--fiverr-green) !important;
    color: #082214 !important;
}

.hostinger-horizontal-card {
    width: 100%;
    background: linear-gradient(145deg, #0F172F, #0a0c1a);
    border-radius: 24px;
    padding: 18px 26px;
    box-shadow: 0 15px 25px -12px rgba(0,0,0,0.5);
    border: 1px solid rgba(250, 174, 44, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto 24px;
}

.hostinger-horizontal-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hostinger-horizontal-icon {
    margin-bottom: 0 !important;
}

.hostinger-horizontal-brand {
    color: #FAAE2C !important;
    margin-bottom: 6px;
}

.hostinger-horizontal-title {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.hostinger-horizontal-count {
    color: #ffffff !important;
}

.hostinger-horizontal-middle {
    text-align: center;
}

.hostinger-horizontal-price {
    color: #ffffff !important;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.hostinger-horizontal-old {
    color: #d1d5db !important;
    margin-bottom: 4px;
}

.hostinger-horizontal-note {
    color: #ffffff;
    font-size: 0.82rem;
    margin-top: 4px;
}

.hostinger-horizontal-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hostinger-horizontal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FAAE2C;
    color: #0a0c15;
    border: 1px solid #FAAE2C;
    border-radius: 40px;
    padding: 11px 22px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
}

.hostinger-horizontal-btn:hover {
    background: #FFD966;
    border-color: #FFD966;
    color: #0a0c15;
}

.calculator-card {
    flex: 1;
    min-width: 280px;
    background: var(--background);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.calculator-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.calculator-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--background-alt);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: var(--primary);
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.input-section {
    background: var(--background-alt);
    padding: 30px;
    border-radius: 16px;
    border: 2px dashed var(--border);
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.input-with-icon {
    position: relative;
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: var(--background);
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.select-group {
    margin-top: 5px;
}

.select-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--background);
}

.calculate-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.result-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid #fecaca;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.result-header i {
    color: var(--accent);
    font-size: 1.5rem;
}

.result-header h3 {
    font-size: 1.3rem;
    color: var(--text);
}

.result-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin: 20px 0;
}

.result-details {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.result-details p {
    margin-bottom: 8px;
    color: var(--text);
}

.formula-display {
    background: var(--background);
    padding: 15px;
    border-radius: 8px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    color: var(--text);
    border: 1px solid var(--border);
    margin-top: 15px;
}

.content-section {
    background: var(--background);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 50px;
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 30px;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.highlight-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid var(--primary);
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 25px 0;
}

.formula-box {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.formula {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 1.2rem;
    background: var(--background-alt);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 15px 0;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.example-card {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.category-item {
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    color: white;
    font-weight: bold;
}

.underweight {
    background-color: #3498db;
}

.normal {
    background-color: #2ecc71;
}

.overweight {
    background-color: #f39c12;
}

.obese {
    background-color: #e74c3c;
}

.table-container {
    overflow-x: auto;
    margin-top: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: var(--primary);
    color: white;
}

.more-calculators {
    text-align: center;
    padding: 60px 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.main-footer {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ad-zone-wrap {
    margin: 18px auto 36px;
    text-align: center;
}

#container-0c076174f8292aaba5a720ff62b81608,
#container-0c076174f8292aaba5a720ff62b81608-footer {
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 1100px) {
    .tool-with-banners {
        flex-wrap: wrap;
    }

    .left-ad-column,
    .right-ad-column {
        width: 100%;
        max-width: 340px;
    }

    .left-ad-column {
        order: 1;
    }

    .calculator-card {
        order: 2;
        width: 100%;
    }

    .right-ad-column {
        order: 3;
    }

    .hostinger-horizontal-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hostinger-horizontal-left {
        flex-direction: column;
        text-align: center;
    }

    .hostinger-horizontal-middle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2.5rem;
    }

    .calculator-card {
        padding: 25px;
    }

    .content-section {
        padding: 30px;
    }

    .calculator-content {
        grid-template-columns: 1fr;
    }
}