/* QR Code Generator - DozeGear - Main Styles */
.qrg-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.qrg-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.qrg-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.qrg-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.qrg-title i {
    color: #f1c40f;
    font-size: 2.5rem;
}

.qrg-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.qrg-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .qrg-content {
        grid-template-columns: 1fr;
    }
}

.qrg-control-card, .qrg-preview-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.qrg-control-card:hover, .qrg-preview-card:hover {
    transform: translateY(-5px);
}

.qrg-form-group {
    margin-bottom: 25px;
}

.qrg-form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
}

.qrg-form-group label i {
    color: #3498db;
    width: 20px;
}

.qrg-input, .qrg-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.qrg-input:focus, .qrg-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.qrg-input-group {
    position: relative;
}

.qrg-input-hint {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 6px;
    font-style: italic;
    padding-left: 5px;
}

.qrg-wifi-fields {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
}

.qrg-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #3498db, #9b59b6);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.qrg-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.qrg-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.qrg-size-value {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.qrg-color-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

@media (max-width: 768px) {
    .qrg-color-controls {
        grid-template-columns: 1fr;
    }
}

.qrg-color-picker {
    width: 100% !important;
    padding: 10px !important;
    border-radius: 12px !important;
    border: 2px solid #e0e6ed !important;
    cursor: pointer;
}

.minicolors-theme-default .minicolors-input {
    height: 45px !important;
    border-radius: 12px !important;
}

.qrg-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 576px) {
    .qrg-buttons {
        grid-template-columns: 1fr;
    }
}

.qrg-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qrg-btn i {
    font-size: 1.1rem;
}

.qrg-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    grid-column: span 2;
}

.qrg-btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.qrg-btn-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.qrg-btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.qrg-btn-secondary:hover {
    background: linear-gradient(135deg, #e083ed 0%, #e54e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 87, 108, 0.3);
}

.qrg-btn-success:hover {
    background: linear-gradient(135deg, #27b864 0%, #229954 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.qrg-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.qrg-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f2f6;
}

.qrg-preview-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.qrg-preview-header h3 i {
    color: #3498db;
}

.qrg-preview-loading {
    display: none;
    align-items: center;
    gap: 10px;
    color: #7f8c8d;
    font-weight: 500;
}

.qrg-qr-container {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    border: 3px dashed #dee2e6;
    transition: all 0.3s ease;
}

.qrg-qr-container canvas {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.qrg-placeholder {
    text-align: center;
    color: #95a5a6;
    padding: 40px;
}

.qrg-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.qrg-placeholder p {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.qrg-preview-info {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .qrg-preview-info {
        grid-template-columns: 1fr;
    }
}

.qrg-info-item {
    text-align: center;
}

.qrg-info-label {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 4px;
}

.qrg-info-value {
    display: block;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 700;
}

.qrg-footer {
    text-align: center;
    color: white;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

.qrg-footer p {
    margin: 10px 0;
    font-size: 1rem;
}

.qrg-footer i {
    color: #f1c40f;
    margin-right: 10px;
}

.qrg-credit {
    font-size: 1.1rem !important;
    font-weight: 600;
    margin-top: 20px !important;
}

.qrg-credit a {
    color: #f1c40f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.qrg-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.qrg-qr-container canvas {
    animation: fadeIn 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .qrg-container {
        padding: 20px;
    }
    
    .qrg-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .qrg-control-card, .qrg-preview-card {
        padding: 20px;
    }
}