/*
Theme Name: QR Code Era Child
Theme URI: http://underscores.me/
Description: Child theme for QR Code Generator
Template: qr-code-era
Author: Basharat Ali
Author URI: https://www.linkedin.com/in/basharat-ali-7923b1212
Version: 1.0.0
*/

/* QR Code Choose Section  CSS Start*/
.contact-inner-choose {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
}

.qr-choose-grid {
    text-align: center;
    padding: 30px 20px;
}

.qr-repeater-choose img {
    max-width: 350px;
	height:300px;
}

h3.qr-repeater-title {}

.qr-choose-grid h2 {
    font-size: 35px;
}

/* QR Code Choose Section  CSS End*/



.qr-repeater-card img {
    width: 100%;
    max-width: 45px;
	margin-bottom:10px;
	border: 12px solid #4f6ae4;
    border-radius: 50%;
    padding: 7px;
	 transition: transform 0.4s ease;
}
.qr-repeater-card:hover img {
    transform: scale(1.1);
}
.qr-repeater-card:hover {
    color: #ffffff;
}
.qr-card-grid h2 {
    text-align:center;
}
.contact-inner-card {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    text-align: center;
	row-gap: 25px;
    column-gap: 45px;
}
.qr-repeater-card {
	position: relative;
    overflow: hidden;
    transition: border 0.5s ease, box-shadow 0.3s ease;
    border: 2px solid #3971f2;
    padding:30px 35px;
    border-radius:12px;
    
}
.qr-repeater-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #3549a7; 
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}
.qr-repeater-card:hover::before {
    opacity: 1;
}
.qr-repeater-card > * {
    position: relative;
    z-index: 1;
}
.qr-card-content p {
    font-size: 25px;
    margin: 15px;
}








/* Add to your theme's style.css */

/* QR Tracking Pixel */
.qr-tracking-pixel {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Print Styles */
@media print {
    .auth-modal,
    .user-actions,
    .step-navigation {
        display: none !important;
    }
    
    .qr-preview-container,
    .qr-final-preview {
        break-inside: avoid;
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.toast.success {
    background: #4CAF50;
}

.toast.error {
    background: #f44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}