* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.uc-hero-section{
    background-color: #6c5ce7;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.converter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-selector {
    margin-bottom: 2rem;
}

.category-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.category-selector select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.converter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.input-section, .output-section {
    flex: 1;
    min-width: 250px;
    margin: 0.5rem;
}

.input-section input, .output-section input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.input-section select, .output-section select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.swap-btn {
    margin: 0 1rem;
}

.swap-btn button {
    background-color: #6c5ce7;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.swap-btn button:hover {
    background-color: #5649c0;
}

#convertBtn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #00b894;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#convertBtn:hover {
    background-color: #00a382;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: #333;
    color: white;
}

@media (max-width: 768px) {
    .converter-box {
        flex-direction: column;
    }
    
    .swap-btn {
        margin: 1rem 0;
    }
}
