.container{
      width:100%;
      max-width:1100px;
      background:#fff;
      border-radius:24px;
      overflow:hidden;
      box-shadow:0 10px 40px rgba(0,0,0,0.08);
      display:grid;
      grid-template-columns:1fr 1fr;
    }

    .calculator{
      padding:40px;
    }

    .result-section{
      background:linear-gradient(135deg,#4f46e5,#7c3aed);
      color:#fff;
      padding:40px;
      display:flex;
      flex-direction:column;
      justify-content:center;
      position:relative;
      overflow:hidden;
    }

    .result-section::before{
      content:'';
      position:absolute;
      width:300px;
      height:300px;
      background:rgba(255,255,255,0.08);
      border-radius:50%;
      top:-120px;
      right:-100px;
    }

    .currency-toggle{
      display:flex;
      gap:12px;
      margin-bottom:25px;
    }

    .currency-btn{
      flex:1;
      padding:12px;
      border:none;
      border-radius:12px;
      background:#eef2ff;
      color:#4338ca;
      font-weight:600;
      cursor:pointer;
      transition:0.3s;
    }

    .currency-btn.active{
      background:#4f46e5;
      color:#fff;
    }

    .input-group{
      margin-bottom:22px;
    }

    label{
      display:block;
      margin-bottom:8px;
      font-weight:600;
      font-size:14px;
      color:#374151;
    }

    .input-wrapper{
      position:relative;
    }

    .currency-symbol{
      position:absolute;
      left:14px;
      top:50%;
      transform:translateY(-50%);
      font-weight:700;
      color:#6b7280;
    }

    input{
      width:100%;
      padding:15px 15px 15px 38px;
      border:2px solid #e5e7eb;
      border-radius:14px;
      outline:none;
      font-size:16px;
      transition:0.3s;
      background:#fff;
    }

    input:focus{
      border-color:#4f46e5;
      box-shadow:0 0 0 4px rgba(79,70,229,0.1);
    }
	
	#revenue,
	#expenses,
	#depreciation,
	#amortization{
	  padding-left:28px;
	}

    .calculate-btn{
      width:100%;
      padding:16px;
      border:none;
      border-radius:14px;
      background:linear-gradient(135deg,#4f46e5,#7c3aed);
      color:#fff;
      font-size:17px;
      font-weight:700;
      cursor:pointer;
      transition:0.3s;
      margin-top:10px;
    }

    .calculate-btn:hover{
      transform:translateY(-2px);
      box-shadow:0 10px 20px rgba(79,70,229,0.25);
    }

    .result-title{
      font-size:18px;
      opacity:0.9;
      margin-bottom:12px;
    }

    .ebitda-result{
      font-size:48px;
      font-weight:800;
      margin-bottom:25px;
      word-break:break-word;
    }

    .summary-card{
      background:rgba(255,255,255,0.12);
      backdrop-filter:blur(10px);
      padding:22px;
      border-radius:20px;
      margin-top:15px;
    }

    .summary-row{
      display:flex;
      justify-content:space-between;
      margin-bottom:16px;
      font-size:15px;
    }

    .summary-row:last-child{
      margin-bottom:0;
    }

    .progress-container{
      margin-top:30px;
    }

    .progress-label{
      display:flex;
      justify-content:space-between;
      margin-bottom:10px;
      font-size:14px;
    }

    .progress-bar{
      width:100%;
      height:14px;
      background:rgba(255,255,255,0.2);
      border-radius:50px;
      overflow:hidden;
    }

    .progress{
      height:100%;
      width:0%;
      background:#fff;
      border-radius:50px;
      transition:1s ease;
    }

    .formula-box{
      margin-top:30px;
      background:#f8fafc;
      padding:18px;
      border-radius:16px;
      border:1px solid #e5e7eb;
    }

    .formula-title{
      font-weight:700;
      margin-bottom:8px;
      color:#111827;
    }

    .formula{
      color:#4f46e5;
      font-weight:700;
      font-size:15px;
      line-height:1.7;
    }

    @media(max-width:900px){
      .container{
        grid-template-columns:1fr;
      }

      .result-section{
        order:-1;
      }

      .ebitda-result{
        font-size:38px;
      }
    }