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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.wrapper {
    height: auto;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.95);
    max-width: 410px;
    width: 100%;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.wrapper.active {
    min-height: 530px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header i {
    font-size: 40px;
    color: #764ba2;
    margin-bottom: 15px;
}

header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

header p {
    color: #666;
    font-size: 16px;
    line-height: 1.4;
}

.wrapper .form {
    margin: 20px 0;
}

.form :where(input, button) {
    width: 100%;
    height: 55px;
    border: none;
    outline: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form input {
    font-size: 16px;
    padding: 0 17px;
    border: 2px solid #ddd;
    background: #fff;
}

.form input:focus {
    border-color: #764ba2;
}

.form button {
    color: #fff;
    cursor: pointer;
    margin-top: 20px;
    font-size: 17px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
}

.form button i {
    font-size: 18px;
}

.wrapper .qr-code {
    display: flex;
    opacity: 0;
    pointer-events: none;
    padding: 33px 0;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.wrapper.active .qr-code {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.qr-code img {
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 430px) {
    .wrapper {
        padding: 20px;
    }
    header h1 {
        font-size: 20px;
    }
    header p {
        font-size: 14px;
    }
    .form input {
        font-size: 14px;
    }
    .form button {
        font-size: 15px;
    }
}
