.wifi-qr-container {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 900px;
    margin: 40px auto;
    color: #333;
}

.wifi-qr-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wifi-qr-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.wifi-qr-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.wifi-qr-header p {
    margin: 10px 0 0;
    opacity: 0.9;
}

.wifi-qr-body {
    display: flex;
    padding: 40px;
    gap: 40px;
    flex-wrap: wrap;
}

.wifi-qr-form {
    flex: 1;
    min-width: 300px;
}

.wifi-qr-preview {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 2px dashed #dee2e6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5ee;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #667eea;
    outline: none;
}

.radio-group {
    display: flex;
    gap: 15px;
}

.radio-group label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-group label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-generate {
    width: 100%;
    padding: 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    margin-top: 10px;
}

.btn-generate:hover {
    background: #5a6fd6;
    transform: translateY(-2px);
}

.btn-generate:active {
    transform: translateY(0);
}

#qrcode-display {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    min-height: 200px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    color: #adb5bd;
    text-align: center;
    font-style: italic;
}

.download-options {
    width: 100%;
    text-align: center;
}

.download-options h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #495057;
}

.download-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-download {
    padding: 8px 20px;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-download:hover {
    background: #667eea;
    color: white;
}

@media (max-width: 768px) {
    .wifi-qr-body {
        flex-direction: column;
    }
}
