.calculator {
    background: #022c22;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #4ade80;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

select,
input[type="number"] {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
	background: #09281a;
    color: #9bd4b5;
	border: 2px solid #4ade80;
}

input[type="range"] {
    width: 100%;
}

.result {
    margin-top: 20px;
    padding: 15px;
    background: #064e3b;
    border-radius: 15px;
    font-size: 16px;
}

.result strong {
    color: #4ade80;
}
.ai-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #0f1a14;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 255, 140, 0.08);
}

.ai-table thead {
    background: linear-gradient(90deg, #0d2016, #123524);
}

.ai-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #00ff9c;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 255, 140, 0.25);
	
}

.ai-table td {
    padding: 14px 15px;
    font-size: 14px;
    color: #c8f7e2;
    border-bottom: 1px solid rgba(0, 255, 140, 0.08);
}

.ai-table tbody tr:nth-child(even) {
    background: rgba(0, 255, 140, 0.03);
}

.ai-table tbody tr:hover {
    background: rgba(0, 255, 140, 0.08);
    transition: 0.3s ease;
}

.ai-table thead tr th:first-child {
    border-top-left-radius: 12px;
}

.ai-table thead tr th:last-child {
    border-top-right-radius: 12px;
}

@media (max-width: 768px) {
    .ai-table th,
    .ai-table td {
        padding: 10px;
        font-size: 12px;
    }
}
.ai-card {
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
}

.ai-card input[type="radio"] {
    display: none;
}

.ai-card.active {
    border: 2px solid #2bf78b;
    box-shadow: 0 0 30px rgb(43 248 139);
    transform: scale(1.03);
}

.selected-circle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #91ffc4;
    color: #24d577;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: 0.3s;
}

.ai-card.active .selected-circle {
    opacity: 1;
    background: #e0e9e4;
    color: #189d5c;
    font-size: 24px;
}
:root {
    --bg-dark: #0c1f14;
    --bg-main: #0f2e1d;
    --green-main: #21c16b;
    --green-soft: #2cff8f;
    --text-main: #eafff4;
    --text-muted: #9fd9ba;
    --border-soft: rgba(46, 255, 153, 0.15);
    --glow: 0 0 25px rgba(46, 255, 153, 0.35);
}
a {color: #9bd4b5;}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top, #163d2a, var(--bg-dark));
    color: var(--text-main);
}

.top-bar {
    background: linear-gradient(90deg, #0b2416, #123d26);
    border-bottom: 1px solid var(--border-soft);
    font-size: 14px;
}

.top-bar .container {
    max-width: 1400px;
    margin: auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.top-bar span {
    color: var(--text-muted);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(12, 31, 20, 0.85);
    border-bottom: 1px solid var(--border-soft);
}

.nav {
    max-width: 1400px;
    margin: auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--green-soft);
    text-shadow: var(--glow);
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--green-main), var(--green-soft));
    display: grid;
    place-items: center;
    color: #0c1f14;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--green-soft);
}

.nav-actions {
    display: flex;
    gap: 12px;
}
@media (max-width: 625px) {
    .nav-actions {
        display: none;
    }
}

.btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-login {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-soft);
	text-decoration: none;    margin: 5px auto;
}

.btn-login:hover {
    border-color: var(--green-main);
    box-shadow: var(--glow);
	
}

.btn-register {
    background: linear-gradient(135deg, var(--green-main), var(--green-soft));
    color: #0b2416;text-decoration: none;    margin: 5px auto;
}

.btn-register:hover {
    box-shadow: var(--glow);
    transform: translateY(-1px);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 26px;
    height: 3px;
    background: var(--green-soft);
    border-radius: 5px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(180deg, #0f2e1d, #0b2416);
    border-top: 1px solid var(--border-soft);
}

.mobile-menu a {
    padding: 16px 20px;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border-soft);
}

.mobile-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .burger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #87ff73;
    border-bottom: 1px dashed #00e42f;
	    text-align: center;
    margin: 0px auto;
    display: block;

}
.blink {
    animation: blink 3s infinite;
}

@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}
.tooltip-text {
visibility: hidden;
    opacity: 0;
    position: absolute;
    /* bottom: 1%; */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(0 0 0 / 85%);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    z-index: 1;
    border: 1px solid #686161;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip:focus .tooltip-text {
    visibility: visible;
    opacity: 1;
}



.form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-box {
    background: #04251c;
    padding: 40px 50px;
    border-radius: 12px;
    width: 420px;
    box-shadow: 0 0 25px rgba(0, 255, 140, 0.15);
}

.form-box h2 {
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
}

.form-group label {
    color: #c8f7df;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-group input {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #1f6f55;
    background: #063d2c;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #00ff95;
    box-shadow: 0 0 8px rgba(0, 255, 149, 0.4);
}

.textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #1f6f55;
    background: #063d2c;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.textarea:focus {
    border-color: #00ff95;
    box-shadow: 0 0 8px rgba(0, 255, 149, 0.4);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 15px 0;
    color: #c8f7df;
    font-size: 14px;
}

.checkbox-group input {
    margin-right: 8px;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #c8f7df;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 25px;
    height: 25px;
    border: 2px solid #00ff95;
    border-radius: 4px;
    position: relative;
    transition: 0.3s;
}

.custom-checkbox input:checked + .checkmark {
    background: #00ff95;
}

.custom-checkbox input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox a {
    color: #00ff95;
    text-decoration: none;
    transition: 0.3s;
}

.custom-checkbox a:hover {
    color: #00cc77;
    text-decoration: underline;
}

.rules-wrapper {
    display: flex;
    justify-content: center;
}

.rules-box {
    width: 850px;
    background: #04251c;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 255, 140, 0.12);
}

.rules-box h2 {
    text-align: center;
    color: #00ff95;
    margin-bottom: 10px;
}

.rules-intro {
    text-align: center;
    color: #c8f7df;
    margin-bottom: 35px;
}

.rule-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 149, 0.1);
}

.rule-item h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.rule-item p {
    color: #c8f7df;
    line-height: 1.6;
    font-size: 14px;
}

.rule-warning {
    margin-top: 30px;
    padding: 15px;
    background: rgba(0, 255, 149, 0.1);
    border-left: 4px solid #00ff95;
    color: #ffffff;
    font-weight: bold;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .rules-box {
        width: 100%;
        padding: 30px;
    }
}

.faq-wrapper {
    display: flex;
    justify-content: center;
   
}

.faq-box {
    width: 900px;
    background: #04251c;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,255,140,0.12);
}

.faq-box h2 {
    text-align: center;
    color: #00ff95;
    margin-bottom: 10px;
}

.faq-intro {
    text-align: center;
    color: #c8f7df;
    margin-bottom: 35px;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,255,149,0.1);
}

.faq-item h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 16px;
}

.faq-item p {
    color: #c8f7df;
    font-size: 14px;
    line-height: 1.6;
}

.faq-item a {
    color: #00ff95;
    text-decoration: none;
    transition: 0.3s;
}

.faq-item a:hover {
    color: #00cc77;
    text-decoration: underline;
}

.faq-warning {
    margin-top: 30px;
    padding: 15px;
    background: rgba(0,255,149,0.1);
    border-left: 4px solid #00ff95;
    color: #ffffff;
    font-weight: bold;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .faq-box {
        width: 100%;
        padding: 30px;
    }
}

.account-wrapper {
    display: flex;
    min-height: 100vh;
    background: #021b14;
}

.account-sidebar {
    width: 240px;
    background: #04251c;
    padding: 30px 20px;
    transition: 0.3s;
}

.sidebar-logo {
    color: #00ff95;
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: bold;
}

.account-sidebar nav a {
    display: block;
    color: #c8f7df;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.account-sidebar nav a:hover {
    background: #063d2c;
    color: #00ff95;
}

.account-content {
    flex: 1;
    padding: 40px;
}

.account-content h2 {
    color: #00ff95;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #04251c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,255,149,0.1);
}

.stat-card span {
    color: #c8f7df;
    font-size: 13px;
}

.stat-card h3 {
    color: #ffffff;
    margin-top: 8px;
}

.account-box {
    background: #04251c;
    padding: 25px;
    border-radius: 10px;
}

.account-box h4 {
    color: #ffffff;
    margin-bottom: 20px;
}

.account-table {
    width: 100%;
    border-collapse: collapse;
}

.account-table th,
.account-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0,255,149,0.1);
    color: #c8f7df;
    font-size: 14px;
}

.account-table th {
    color: #00ff95;
}

.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-header button {
    background: #00ff95;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 900px) {

    .account-wrapper {
        flex-direction: column;
    }

    .account-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        height: 100%;
        z-index: 1000;
    }

    .account-sidebar.active {
        left: 0;
    }

    .account-content {
        padding: 20px;
    }

    .mobile-header {
        display: flex;
    }
}

#bgChart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
}

.calc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
}

.calc-overlay.active {
    opacity: 1;
    visibility: visible;
}

.calc-modal {
    background: #022c22;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 30px auto;
}

.calc-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.titles{
	text-align: center;line-height: 30px;margin: 20px auto; margin: 30px auto;
    display: block;
    font-size: 18px;
    line-height: 30px;
    padding: 30px;
    border: 1px solid rgba(46, 255, 153, .35);
    box-shadow: 0 0 35px rgba(46, 255, 153, .25);
    text-align: center;
    background: #11432c;
}