/* QR Container */
.qr-container {
    display: flex;
    flex-direction: row-reverse;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 500px;
}

/* Form Styles */
#qr-form {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    border-left: 1px solid #eee;
}

label {
    display: block;
    margin: 20px 0 8px;
    font-weight: 600;
    color: #2c3e50;
}

input[type = "text"],
input[type = "file"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

input[type = "text"]:focus,
select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Preview Section */
#qr-preview {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
}

#qr-img {
    max-width: 300px;
    width: 100%;
    border: 15px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
    transition: transform 0.3s;
}

#qr-img:hover {
    transform: scale(1.05);
}

#downloadBtn {
    background: linear-gradient(90deg, #2b7bc0, #79ccee);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

#downloadBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(52, 152, 219, 0.4);
}

/* Home Only */
.color-selector {
    display: flex;
    gap: 20px;
    margin: 10px 0;
  }
  .color-btn {
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
  }
  .color-btn.active {
    border: 2px solid #fff; 
    box-shadow: 0 0 0 2px #000; 
  }
  
  .color-btn:hover{
    transform: scale(1.05);
}

premium-showcase {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.premium-showcase h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.video-container {
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
}

.upgrade-text {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .qr-container {
        flex-direction: column;
        padding: 20px;
        min-height: auto;
        box-shadow: none;
        border-radius: 0;
    }

    #qr-preview {
        order: -1;
        padding: 20px 10px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #qr-img {
        max-width: 80%;
        margin: 0 auto 20px;
    }

    #qr-form {
        padding: 20px 10px;
        border-left: none;
        border-top: 1px solid #eee;
    }

    input[type="text"],
    input[type="file"],
    select {
        font-size: 15px;
        padding: 5px;
    }

    #downloadBtn {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .color-selector {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .premium-showcase {
        padding: 30px 15px;
    }
    
    .premium-showcase h2 {
        font-size: 1.6rem;
    }
    
    .video-container {
        max-width: 100%;
        padding: 0;
    }
    
    video {
        width: 100%;
    }
}
