/* FONTS */
@font-face {
  font-family: 'Onest';
  src: url("../fonts/subset-Onest-Bold.woff2") format("woff2"), url("../fonts/subset-Onest-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'Onest';
  src: url("../fonts/subset-Onest-Light.woff2") format("woff2"), url("../fonts/subset-Onest-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'Onest';
  src: url("../fonts/subset-Onest-Regular.woff2") format("woff2"), url("../fonts/subset-Onest-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'Onest';
  src: url("../fonts/subset-Onest-Black.woff2") format("woff2"), url("../fonts/subset-Onest-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap; }
/* GENERAL */
:root {
  --bg-dark: #121418;
  --card-dark: #1C1F26;
  --text-primary: #FFFFFF;
  --text-secondary: #8A94A6;
  --accent-bleu: #3cb7fa;
  --accent-blue: #2979FF;
  --accent-purple: #D500F9;
  --border-color: #2D3342;
  --input-bg: #252A33; }

* {
  box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  font-family: "Onest", arial, sans-serif;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center; }

.page-center {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px; }

.app-container {
  width: 100%;
  max-width: 640px;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  height: auto;
  min-height: 800px; }
  @media (max-width: 767px) {
    .app-container {
      max-width: 480px; } }
  @media (max-width: 500px) {
    .app-container {
      max-width: 100%;
      box-shadow: none;
      border: none; } }

/* Header */
header {
  width: 100%;
  padding: 20px 0; }
  header .logo {
    margin: 0 auto;
    max-width: 170px; }
    header .logo .logo-img {
      width: 100%;
      height: auto; }

/* Footer */
footer {
  padding: 20px 0;
  width: 100%; }
  footer .copyright {
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 300; }

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px; }

.calculator-title .title {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  margin: 0;
  padding: 0; }

/* Summary Card */
.summary-card {
  display: flex;
  justify-content: center;
  align-items: center; }

.summary-circle {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center; }

.summary-content {
  position: absolute;
  text-align: center;
  z-index: 2; }

.summary-content .label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 5px; }

.summary-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1px; }

.summary-content h1 small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary); }

.summary-content .percentage {
  display: block;
  color: var(--accent-bleu);
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: 500; }

.progress-ring {
  transform: rotate(-90deg); }

.progress-ring__circle {
  stroke-dasharray: 628;
  /* 2 * PI * 100 */
  stroke-dashoffset: 628;
  transition: stroke-dashoffset 1s ease-in-out;
  stroke-linecap: round; }

/* Actions Row */
.actions-row {
  display: flex;
  justify-content: space-between;
  gap: 15px; }

.action-btn {
  flex: 1;
  background-color: var(--card-dark);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent; }

.action-btn i {
  font-size: 1.2rem;
  color: var(--text-secondary); }

.action-btn span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary); }

.action-btn:hover {
  background-color: #252a33; }

.action-btn.active {
  background-color: rgba(60, 183, 250, 0.1);
  border-color: var(--accent-bleu); }

.action-btn.active i, .action-btn.active span {
  color: var(--accent-bleu); }

/* Calculator Section */
.calculator-section {
  display: flex;
  flex-direction: column;
  gap: 20px; }

.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px; }

.input-group label {
  color: var(--text-secondary);
  font-size: 0.9rem; }

.input-wrapper {
  position: relative;
  background-color: var(--input-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s; }

.input-wrapper:focus-within {
  box-shadow: 0 0 0 2px var(--accent-blue); }

.input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px;
  padding-right: 60px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  outline: none; }

.input-wrapper .currency {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-weight: 500; }

/* Breakdown List */
.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px; }

.list-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color); }

.list-item:last-child {
  border-bottom: none; }

.item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px; }

.icon-cas {
  background-color: rgba(41, 121, 255, 0.1);
  color: var(--accent-blue); }

.icon-cass {
  background-color: rgba(213, 0, 249, 0.1);
  color: var(--accent-purple); }

.icon-tax {
  background-color: rgba(255, 171, 0, 0.1);
  color: #FFAB00; }

.icon-total {
  background-color: rgba(60, 183, 250, 0.1);
  color: var(--accent-bleu); }

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column; }

.item-name {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem; }

.item-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400; }

.item-value {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem; }

.list-item.highlight .item-value {
  color: var(--accent-bleu);
  font-size: 1.1rem; }

/* Bottom Action */
.bottom-action {
  margin-top: auto; }

.main-btn {
  width: 100%;
  background-color: var(--card-dark);
  /* Initial state */
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 18px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 2px; }

.main-btn:hover {
  background-color: var(--accent-bleu);
  color: #000;
  border-color: var(--accent-bleu);
  box-shadow: 0 4px 15px rgba(60, 183, 250, 0.3); }

/*# sourceMappingURL=main.css.map */
