@font-face {
  font-family: 'Hasklig-Medium';
  src: url('../fonts/Hasklig-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Hasklig-Medium', sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
}

.container {
    width: 100%;
    max-width: 500px;
    margin-top: 50px;  
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo {
    width: 140px;
    max-width: 80%;
    object-fit: cover;
}

.title {
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    color: #2c3e50;  
    font-size: 1.6rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.controls-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.select-control {
    font-size: 16px;
    width: 100px;
    max-width: 45%;
    padding: 8px;
    border: 1px solid #ccd6e0;
    border-radius: 8px;
    background: #f9fafc;
    transition: all 0.2s ease;
}

.select-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 6px #3498db55;
    outline: none;
}

.swap-btn {
    width: 100px;
    height: 35px;
    border: none;
    border-radius: 10px;
    background: #271c56;  
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swap-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.input-control {
    width: 100%;
    font-size: 16px;
    height: 35px;
    border: 1px solid #ccd6e0;
    border-radius: 8px;
    padding: 0 10px;
    transition: all 0.2s ease;
}

.input-control:focus-visible {
    border-color: #3498db;
    box-shadow: 0 0 6px #3498db55;
    outline: none;
}

span {
    margin: 0 5px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .container {
        padding: 35px 15px;
    }
    .title {
        font-size: 1.4rem;
    }
    .select-control, .swap-btn {
        width: 90px;
        font-size: 14px;
    }
    .input-control {
        font-size: 14px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 10px;
    }
    .logo {
        width: 120px;
    }
    .title {
        font-size: 1.2rem;
    }
    .controls-wrapper {
        flex-direction: column;
        gap: 8px;
    }
    .select-control, .swap-btn {
        width: 100%;
        max-width: 100%;
    }
    .input-control {
        font-size: 14px;
        height: 28px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 700px;    
        padding: 60px 30px;  
    }

    .logo {
        width: 180px;      
    }

    .title {
        font-size: 2rem;  
    }

    .select-control, .input-control {
        font-size: 18px;    
        height: 40px;       
    }

    .swap-btn {
        width: 120px;        
        height: 40px;
        font-size: 16px;
    }

    span {
        font-size: 1.4rem;  
    }

    .controls-wrapper {
        gap: 15px;    
    }
}