* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    min-height: 100vh;
    padding: 20px;
} */

        .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
}

.header h1 {
  font-size: 45px !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
	    color: white !important;
/*     font-family: inherit; */
	}

 .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

.converter-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;f
    box-shadow: 0 4px 6px rgba(233, 30, 99, 0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 2rem;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input[type="number"],
.input-group input[type="text"] {
    width: 100%;
    padding: 1rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.input-group input[type="number"]:focus,
.input-group input[type="text"]:focus {
    outline: none !important;
    border-color: #e91e63 !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.input-group input[readonly] {
    background-color: #f8f9fa;
    cursor: default;
}

.description {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 0.5rem;
    line-height: 1.5;
    padding: 0.75rem;
    background-color: #fdf2f8;
    border-radius: 6px;
    border-left: 3px solid #f48fb1;
}

.conversion-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: end;
    margin: 2rem 0;
}

.conversion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
    border-radius: 50%;
    color: white;
    margin-bottom: 1rem;
}

.result-container {
    position: relative;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: 1px solid gray !important;
    color: #e91e63 !important;
    cursor: pointer;
    padding: 8px !important;
    border-radius: 4px !important;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: rgba(233, 30, 99, 0.1);
}

.copy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.copy-btn.copied {
    background-color: #4caf50 !important;
    color: white !important;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.btn-secondary {
    background: #ffffff !important;
    color: #e91e63 !important;
    border: 2px solid #e91e63 !important;
}

.btn-secondary:hover {
      background:linear-gradient(219deg, #FB0E76 0%, #910694 100%) !important;
    color: white !important;
}

.copy-notification {
    position: absolute;
    top: -40px;
    right: 20px;
    background: #e91e63;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
/*     body {
        padding: 10px;
    } */

    .header h1 {
        font-size: 35px !important;
    }
	.container{
		padding:2px !important
	}

    .converter-card,
    .info-section {
        padding: 1.5rem;
    }

    .conversion-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .conversion-arrow {
        transform: rotate(90deg);
        margin: 0.5rem auto;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .converter-card {
        padding: 1rem;
    }

    .input-group input[type="number"],
    .input-group input[type="text"] {
        padding: 0.875rem;
    }
}

/* Animation for smooth transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects */
.converter-card:hover {
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Loading state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus states for accessibility */
.btn:focus,
.copy-btn:focus {
    outline: 2px solid #e91e63;
    outline-offset: 2px;
}
