/* WiFi QR Code Generator Styles */

.generator-section {
    max-width: 900px;
    margin: 0 auto;
}

.generator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-panel, .qr-panel {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.input-panel h2, .qr-panel h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a90e2;
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 50px;
}

.btn-toggle-pw {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input:checked + .checkbox-custom {
    background: #4a90e2;
    border-color: #4a90e2;
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

/* Color Options */
.color-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-options input[type="color"] {
    width: 50px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
}

.color-label {
    color: #888;
    font-size: 14px;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
}

/* QR Panel */
.qr-container {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.qr-placeholder {
    text-align: center;
    color: #999;
}

.qr-placeholder .icon {
    font-size: 60px;
    display: block;
    margin-bottom: 15px;
}

.qr-placeholder p {
    line-height: 1.6;
}

#qr-container canvas {
    border-radius: 8px;
}

.qr-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.qr-actions button {
    flex: 1;
}

.wifi-string {
    margin-top: 15px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow-x: auto;
}

.wifi-string code {
    font-size: 12px;
    color: #666;
    word-break: break-all;
}

/* Guide Section */
.guide-section {
    margin-top: 40px;
}

.guide-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.guide-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.guide-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.guide-card p {
    color: #666;
    line-height: 1.6;
}

.tips-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tips-box h3 {
    margin-bottom: 15px;
    color: #333;
}

.tips-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-box li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.tips-box li:last-child {
    border-bottom: none;
}

.tips-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a90e2;
}

/* Responsive */
@media (max-width: 768px) {
    .generator-container {
        grid-template-columns: 1fr;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
}




