      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

     .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    overflow-x: hidden;
	
}
/* Header Styles */
header {
    text-align: center;
     background: linear-gradient(135deg, #9CA1E2 0%, #4b85e6 50%, #9CA1E2 100%);
    color: white !important;
    padding: 31px;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}




header h1 {
    font-size: 45px !important;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	color:white;
}

      .subtitle {
        color:white;
        font-size: 1rem;
      }

      .converter-card {
        background: linear-gradient(135deg, #3b82f6ba 0%, #1e40af5e 100%);
        border-radius: 16px;
        padding: 32px;
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
        margin-bottom: 30px;
      }

      .form-group {
        margin-bottom: 24px;
      }

      label {
        display: block;
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 0.95rem;
      }

      select, input {
        width: 100%;
        padding: 14px 16px;
        border: 2px solid transparent !important;
        border-radius: 8px;
        font-size: 1rem;
        background-color: #ffffff;
        color: #333;
        transition: all 0.3s ease;
        appearance: none;
        cursor: pointer;
      }

      select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 40px;
      }

      input:focus, select:focus {
        outline: none;
        border-color: #fbbf24;
        box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
      }

      input[type="number"] {
        cursor: text;
      }

      .convert-btn {
        width: 100%;
        padding: 16px;
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
        color: #1e3a8a;
        border: none !important;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
      }

      .convert-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
      }

      .convert-btn:active {
        transform: translateY(0);
      }

      .result-card {
        background-color: #f8fafc !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 16px !important;
        padding: 32px;
        display: none;
        animation: fadeIn 0.5s ease;
      }

      .result-card.show {
        display: block;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .result-title {
        color: #1e3a8a !important;
        font-size:35px;
        margin-bottom: 20px;
        text-align: center;
        font-weight: 600;
      }

      .result-content {
        text-align: center;
      }

      .ingredient-name {
        color: #64748b !important;
        font-size: 1rem;
        margin-bottom: 16px;
      }

      .result-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
        border-radius: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
      }

      .result-icon svg {
        width: 45px;
        height: 45px;
        fill: #ffffff;
      }

      .result-value {
        font-size: 35px;
        font-weight: 700;
        color: #1e3a8a !important;
        margin-bottom: 8px !important;
      }

      .result-unit {
        color: #64748b;
        font-size: 1.1rem;
        font-weight: 500;
      }

      .result-approx {
        color: #94a3b8;
        font-size: 20px;
        margin-top: 12px;
        font-style: italic;
      }

      .error-message {
        background-color: #fee2e2;
        color: #991b1b;
        padding: 12px 16px;
        border-radius: 8px;
        margin-top: 16px;
        display: none;
        text-align: center;
      }

      .error-message.show {
        display: block;
      }

      @media (max-width: 640px) {
        .container {
          padding: 0px;
				}
				.e-con{
						padding:4px;
					}

       header h1 {
          font-size: 35px !important;
        }

        .converter-card {
          padding: 24px;
        }

        .result-value {
          font-size: 35px;
        }
				 .result-title {
        color: #1e3a8a !important;
        font-size:25px;
        margin-bottom: 20px;
        text-align: center;
        font-weight: 600;
      }

        .result-icon {
          width: 60px;
          height: 60px;
        }

        .result-icon svg {
          width: 35px;
          height: 35px;
        }
      }
    