/* ARV Calculator Plugin Styles */

:root {
  --arv-primary: #0d8a8a;
  --arv-primary-light: #ccfbf1;
  --arv-primary-dark: #0f766e;
  --arv-bg: #f0f4f8;
  --arv-card-bg: #ffffff;
  --arv-text: #0f172b;
  --arv-muted: #62748e;
  --arv-border: rgba(226, 232, 240, 0.8);
  --arv-result-bg: #f0fdfa;
  --arv-radius: 16px;
  --arv-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.arv-calc-wrapper {
  max-width: 1232px;
  margin: 0 auto;
  padding-top: 96px;
  padding-bottom: 128px;  
  padding-left: 16px;
  padding-right: 16px;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
  color: var(--arv-text);
} 

/* ===== Header ===== */
.arv-calc-header {
  text-align: center;
  margin-bottom: 64px;
}

.arv-calc-title {
  color: var(--arv-text);
	font-size: 3.75rem;
line-height: 1;
font-weight: 700;
letter-spacing: -0.025em;
}
@media (min-width: 768px) {
 .arv-calc-title {
	 font-size: 4.5rem;
}
}

.arv-calc-subtitle {
  color: var(--arv-muted);
margin-top: 24px;
font-size: 19px;
max-width: 42rem;
margin-left: auto;
margin-right: auto;
line-height: 1.625;
}

/* ===== Tabs ===== */
.arv-calc-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.arv-calc-tabs {
display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.arv-inner-calc-tabs {
    display: inline-flex;
    padding: 6px;
    border-radius: 9999px;
    background-color: #f1f5f9;
    border: 1px solid rgba(226, 232, 240, 0.7);
}
.arv-tab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--arv-muted);
    transition: all 0.2s ease;
    white-space: nowrap;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.15s ease;
	box-shadow: none;
}
.arv-tab-btn.active {
    background: #fff;
    color: var(--arv-primary);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.arv-tab-btn:hover:not(.active) {
    color: var(--arv-text);
    background: transparent !important;
}

.arv-recommended {
  font-size: 0.82em;
  opacity: 0.85;
}

/* ===== Tab Wrapper ===== */
.arv-calc-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

/* ===== Grid ===== */
.arv-calc-grid {
  width: 100%;
}

.arv-tab-content {
  display: none;
}

.arv-tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 680px) {
  .arv-tab-content.active {
    grid-template-columns: 1fr;
  }
}

/* ===== Cards ===== */
.arv-card {
    background: var(--arv-card-bg);
    border-radius: var(--arv-radius);
    border: 1px solid var(--arv-border);
    padding: 2rem 1rem;
}
.arv-card.arv-result-card {
    padding: 0 !important;
}
@media (min-width: 678px) {
 .arv-card {
    padding: 40px;
}
}


.arv-card-title {
    font-weight: 700;
    color: var(--arv-text);
    margin: 0 0 8px;
    font-size: 22px;
	line-height: 1.5;
} 
.arv-card-note + .arv-field {
    margin-top: 32px;
}
.arv-card-note {
    margin: 0 0 8px;
    line-height: 1.6;
    margin-top: 8px;
    font-size: 15px;
    color: #62748e;
}
.arv-card-note em {
    color: #45556c;
}
/* ===== Form Fields ===== */
.arv-field {
  margin-top: 20px;
}

.arv-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 10px;
	line-height: 22px;
}
.arv-unit {
    font-weight: 400;
    color: #90a1b9;
}
.arv-input {
  outline: none;	
	min-height: 59px;
    width: 100% !important;
    border-radius: 10px;
    border: 1px solid #e2e8f0 !important;
    background-color: rgba(248, 250, 252, 0.6) !important;
    padding: 16px 20px !important;
    font-size: 17px !important;
    color: #1e293b !important;
    transition: all 0.15s ease;
	min-height: 60px !important;
}
.arv-input::placeholder {
  color: #cbd5e1;
}
.arv-input:focus {
 outline: none;
  border-color: var(--teal);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 138, 138, 0.06);
}

/* ===== Comp Row ===== */
.arv-comp-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-top: 20px;
}

.arv-comp-row .arv-field {
  flex: 1;
  margin-top: 0;
}
div#arv-comps-list {
    margin-top: 32px;
}
.arv-delete-btn {
    background: #fff;
    padding: 10px 12px;
    cursor: pointer;
    flex-shrink: 0;
    height: 54px;
    width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid rgb(226 232 240);
    color: rgb(148 163 184);
    transition: all 0.15s ease;
	box-shadow: none;
}

.arv-delete-btn:hover {
    background: #fff;
    border-color: #ff2056;
    color: #ff2056;
}

/* ===== Add Comp Button ===== */
.arv-add-comp-btn {
    padding: 20px;
    margin-top: 20px;
    color: var(--arv-primary) !important;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border-radius: 0.75rem;
    border: 1px dashed;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.15s ease;
    min-height: 58px;
    border-color: rgba(13, 138, 138, 0.14) !important;
    background: rgba(13, 138, 138, 0.05) !important;
}

.arv-add-comp-btn:hover {
    background-color: rgba(13, 138, 138, 0.04) !important;
}

/* ===== Result Panel ===== */
.arv-result-label {
    color: var(--arv-primary);
    margin-bottom: 4px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}
.arv-result-sub {
    color: var(--arv-primary);
    margin-top: 6px;
    font-size: 15px;
}
.arv-result-value {
  color: var(--arv-primary);
margin-top: 16px;
font-size: 52px;
font-weight: 700;
font-variant-numeric: tabular-nums;
letter-spacing: -0.025em;
	    line-height: 1.5;
}
@media (min-width: 768px) {
	.arv-result-value{
	font-size: 64px;
		}
}
/* ===== Breakdown ===== */
.arv-breakdown-empty {
  color: var(--arv-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 0;
}

.arv-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 16px;
}
.arv-breakdown-row span:first-child {
    color: #45556c;
}
.arv-breakdown-row span:last-child {
    font-weight: 600;
    color: rgb(30 41 59);
}
.arv-breakdown-row.arv-breakdown-total span:first-child {
    font-size: 17px;
    font-weight: 600;
    color: rgb(30 41 59);
}
.arv-breakdown-row.arv-breakdown-total span:last-child {
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--arv-primary);
}
.arv-breakdown-total {
    font-weight: 700;
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    font-size: 0.95rem;
}
.arv-card_contant, .arv-breakdown_data{
    padding: 2rem 1rem;
}
.arv-card_contant {
    background-color: rgba(13, 138, 138, 0.05);
    border-color: rgba(13, 138, 138, 0.14);
    border-width: 0 0 1px 0;
    border-style: solid;
}
@media (min-width: 768px) {
  .arv-card_contant, .arv-breakdown_data {
    padding: 2.5rem;
  }
}
.arv-arv-highlight {
  color: var(--arv-primary);
  font-weight: 700;
}

/* ===== Download Button ===== */
.arv-download-btn {
    background: var(--arv-primary) !important;
    border: none;
    cursor: pointer;
    margin-top: 1.25rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.arv-download-btn:hover {
  opacity: 0.95;
}

.arv-download-btn:active {
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
.arv-input {
    font-size: 16px !important;
    min-height: 46px !important;
}
	.arv-calc-subtitle {
    font-size: 16px
}
	.arv-calc-header {
    text-align: center;
    margin-bottom: 34px;
}
	.arv-breakdown-row {
    font-size: 14px;
}
	.arv-breakdown-row.arv-breakdown-total span:last-child {
    font-size: 20px;
}
	.arv-download-btn {
    font-size: 14px;
}
	.arv-label {
    font-size: 13px;
		    margin-bottom: 8px;
    line-height: 16px;
}
	.arv-breakdown-row.arv-breakdown-total span:first-child {
    font-size: 14px;
}
	.arv-calc-tabs {
    margin-bottom: 20px;
} 
  .arv-calc-wrapper {
    padding: 50px 16px;
  }
  .arv-calc-title {
    font-size: 2.8rem;
  }
  .arv-result-value {
    font-size: 1.9rem;
  }
  .arv-tab-btn {
    padding: 14px 14px;
    font-size: 0.83rem;
  }
}
