* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #314e6b 0%, #3d4e77 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #e2e8f0;
    caret-color: #60a5fa;
}

.container {
    background: #1e293b;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #bfdbfe;
    background-color: #1e293b;

    margin-bottom: 25px;
}

#status {
    color: #93c5fd;
    font-style: italic;
    font-size: 2.2em;
    font-weight: 600;
}

.input-section {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #bfdbfe;
    font-weight: 600;
}

textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #334155;
    border-radius: 12px;
    background-color: #334155;
    font-size: 15px;
    color: #bfdbfe;
    background-color: #334155;
    ::placeholder {
        color: #64748b;
        opacity: 0.7;
    }
    resize: vertical;
    transition: all 0.3s ease;
    &:focus {
        border-color: #60a5fa;
        outline: none;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
    }
    font-family: inherit;
    line-height: 1.5;
}

textarea:focus {
    outline: none;
    border-color: #667eea;
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 18px 0;
}

.option-group {
    display: flex;
    flex-direction: column;
}

select {
    padding: 10px;
    border: 2px solid #334155;
    background-color: #334155;
    background-color: #334155;
    background-color: #334155;
    background-color: #334155;
    background-color: #334155;
    border-radius: 8px;
    font-size: 16px;
    background-color: #334155;
    color: #e2e8f0;
    option {
        background-color: #1e293b;
        color: #e2e8f0;
    }
    cursor: pointer;
    transition: border-color 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #667eea;
}

button {
    width: 100%;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#generate-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
    color: white;
}

#generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#generate-btn:active {
    transform: translateY(0);
}

#download-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    color: white;
    margin-top: 10px;
}

#download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.result-section {
    text-align: center;
}

#qr-result h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

#qr-code {
    display: inline-block;
    padding: 20px;
    background: #0f172a;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#qr-code img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    button {
        font-size: 16px;
        padding: 12px 25px;
    }
}