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

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e1f2f, #323a52);
    padding: 20px;
}

/* MAIN CARD */
.container{
    background: rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: 1.5rem;
    width: 42vh;
    min-height: 45vh;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    animation: fadeIn 0.7s ease;
}

h2{
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

h2 i {
    color: #ffca58;
    margin-right: 10px;
}
h3{
   color: #ffca58; 
    /* margin-left: 50px; */
    font-size: 14px;
    position: relative;
    top: 40px;
    text-align: right;
}

/* FORM */
form{
    margin: 2rem 0 1rem 0;
}

/* INPUT + BUTTON UNIVERSAL */
form select,
form button,
form input{
    width: 100%;
    border: none;
    outline: none;
    border-radius: 0.75rem;
}

/* INPUT */
form input{
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    height: 3rem;
    padding-left: 0.8rem;
    color: #fff;
    font-size: 1.1rem;
    transition: 0.2s ease-in-out;
}

form input:focus{
    border-color: #7bb3ff;
    box-shadow: 0 0 10px rgba(123,179,255,0.4);
}

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

/* ARROW */
.dropdown i{
    font-size: 1.5rem;
    color: #ffc85c;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    /* background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px); */
    transition: 0.3s ease;
    cursor: pointer;
}

.dropdown i:hover{
    transform: rotate(180deg);
}

/* COUNTRY SELECT BOX */
.select_country{
    display: flex;
    align-items: center;
    width: 7rem;
    padding: 0.5rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    gap: 0.5rem;
    cursor: pointer;
}

.select_country img{
    width: 2rem;
    border-radius: 5px;
}

/* SELECT DROPDOWN */
/* .select_country select{
    font-size: 1rem;
    
    cursor: pointer;
} */

/* Keep your select transparent */
.select_country select {
    background: transparent;
    color: #fff;
}

/* When dropdown opens, list becomes WHITE */
.select_country select option {
    background: #ffffff !important;
    color: #000 !important;
}


/* LABEL TEXTS */
.amount p,
.from p,
.to p{
    color: #eaeaea;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* RESULT BOX */
.msg{
    margin: 2rem 0;
    text-align: center;
    padding: 1rem;
    border-radius: 0.8rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.1rem;
}

/* BUTTON */
form button{
    height: 3rem;
    background: linear-gradient(135deg, #ffb658, #ff8b36);
    color: #1e1e1e;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 1rem;
}

form button:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.25);
}

/* ANIMATION */
@keyframes fadeIn{
    from{opacity: 0; transform: translateY(15px);}
    to{opacity: 1; transform: translateY(0);}
}

/* --------------------------------------- */
/* RESPONSIVE SECTION (SAME AS YOUR FILE) */
/* --------------------------------------- */

@media (max-width: 480px) {
    .container {
        width: 90vw;
        padding: 1.5rem;
    }

    form input,
    form button {
        height: 2.8rem;
        font-size: 0.9rem;
    }

    .dropdown {
        flex-direction: column;
        gap: 1rem;
    }

    .select_country {
        width: 100%;
        padding: 0.5rem;
    }

    .select_country img {
        max-width: 1.8rem;
    }

    .dropdown i {
        display: none;
    }

    .msg {
        font-size: 1rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .container { width: 60vw; }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .container { width: 45vw; }
}

@media (min-width: 1201px) {
    .container { width: 35vw; }
}
