body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    animation: fadeIn 1s ease forwards;
    background: linear-gradient(to right, #3498db, #8e44ad, #3498db);
    background-size: 200% 100%;
    animation: gradient 10s linear infinite;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 0% 50%;
    }
    75% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.text-container {
    max-width: 40%;
    text-align: left;
    padding-right: 20px;
}

h2 {
    color: #fff;
    font-size: 28px;
}

form {
    max-width: 400px;
    width: 100%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 16px;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    outline: none;
    font-size: 16px;
    transition: border-bottom 0.3s ease, padding-top 0.3s ease;
}

input:focus,
input:valid {
    border-bottom: 2px solid #3498db;
    padding-top: 20px;
}

input[type="submit"] {
    background: #e74c3c;
    color: #fff;
    cursor: pointer;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 4px;
    font-size: 16px;
    transition: background 0.5s ease;
}

input[type="submit"]:hover {
    background: #c0392b;
}

.price-info {
    margin-top: 20px;
    font-size: 14px;
    color: gray;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.settings-container {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.settings-popup {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #3498db;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    transform-origin: top center;
    animation: slideIn 0.5s ease-out;
}

.settings-popup p {
    color: #fff;
    margin: 0;
    text-align: center;
}

@keyframes slideIn {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}
