.qrcode-page {
    max-width: var(--medium-width);
    margin: 0 auto;
    padding: 60px 20px;
}

.qrcode-panel {
    display: flex;
    gap: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.qrcode-left {
    flex: 1;
}

.qrcode-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.panel-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
}

.setting-section {
    margin-bottom: 24px;
}

.setting-section:last-child {
    margin-bottom: 0;
}

.setting-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 10px;
}

.input-textarea {
    width: 100%;
    height: 120px;
    padding: 14px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-textarea:focus {
    outline: none;
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.1);
}

.input-textarea::placeholder {
    color: #9ca3af;
}

.size-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.size-input {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.size-input:focus {
    outline: none;
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.1);
}

.size-unit {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.size-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e5e7eb;
    border-radius: 3px;
    cursor: pointer;
}

.size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #11998e;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.size-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.size-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #11998e;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.color-options {
    display: flex;
    gap: 24px;
}

.color-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.color-picker-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-input {
    width: 60px;
    height: 24px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-input:hover {
    border-color: #11998e;
}

.color-value {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    font-family: monospace;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-generate {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
}

.btn-clear {
    padding: 14px 24px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    border-color: #9ca3af;
    background: #f3f4f6;
}

.preview-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: #f3f4f6;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 20px;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
}

.preview-icon {
    width: 64px;
    height: 64px;
}

.preview-placeholder p {
    font-size: 14px;
}

.preview-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcodeCanvas {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#qrcodeCanvas canvas {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
}

.btn-download {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
}

.btn-download:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .qrcode-panel {
        flex-direction: column;
        padding: 20px;
    }
    
    .preview-box {
        min-height: 250px;
    }
}