* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Main Body Styling */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg,#0f172a,#1e293b);                    /* Added modern gradient background */
}

/* Main Card Container */
.container {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);                                                /* Added glassmorphism blur effect */
    padding: 2rem;
    width: 420px;
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);                                  /* Added modern soft shadow */
    color: white;
}

/* Heading */
h1 {
    text-align: center;
    margin-bottom: 0.6rem;
    font-size: 2rem;
}

/* Subtitle */
.subtitle {
    text-align: center;
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form Spacing */
form {
    margin-top: 1rem;
}

/* Input, Select & Button Common Styling */
form select, form input, form button {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 0.8rem;
}

/* Amount Section */
.amount p {
    margin-bottom: 0.5rem;
}

/* Input Styling */
form input {
    border: 1px solid #475569;
    background-color: #1e293b;
    color: white;
    font-size: 1rem;
    padding: 0.8rem;
}

/* Dropdown Container */
.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

/* Exchange Icon */
.icon {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: #38bdf8;
    transition: 0.3s ease;
}

/* Added hover animation */
.icon:hover {
    transform: rotate(180deg);
    cursor: pointer;
}

/* Currency Select Box */
.select-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #475569;
    background-color: #1e293b;
    padding: 0.5rem;
    border-radius: 0.8rem;
}

/* Flag Images */
.select-container img {
    width: 2rem;
}

/* Select Dropdown */
.select-container select {
    background: transparent;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

/* Exchange Message */
.msg {
    margin: 2rem 0;
    background-color: rgba(255,255,255,0.08);
    padding: 1rem;
    border-radius: 0.8rem;
    text-align: center;
    font-weight: 500;
    color: #f8fafc;
}

/* Button Styling */
form button {
    height: 3rem;
    background: linear-gradient(135deg,#38bdf8,#0ea5e9);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Added button hover effect */
form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(56,189,248,0.4);
}

/* Added option styling in the dropdown*/
option {
    background-color: #1e293b;
    color: white;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #cbd5e1;
    font-size: 0.85rem;
}