* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

.form-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.form-popup form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.form-popup h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.form-popup label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.form-popup input[type="text"],
.form-popup input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-popup .btn {
    background-color: #c1002b;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.form-popup .btn:hover {
    background-color: #a00024;
}

@media only screen and (min-width: 360px) and (max-width: 768px) {
    .form-popup form {
        padding: 15px;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 15px;
    }

    .form-popup h1 {
        font-size: 18px;
        font-weight: bold;
    }

    * {
        font-size: 13px;
    }

    .form-popup input[type="text"],
    .form-popup input[type="password"] {
        padding: 10px;
    }
}