/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* Custom Checkout Fields Styling */
#custom_checkout_fields {
    margin: 2em 0;
    padding: 1.5em;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#custom_checkout_fields h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
}

/* Template Reference Styling */
.template-reference-wrapper {
    margin-bottom: 1.5em;
}

.template-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.template-option {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.template-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.template-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.template-option label {
    display: block;
    cursor: pointer;
}

.template-option img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.template-option input[type="radio"]:checked + label {
    border-color: #4CAF50;
}

.template-option input[type="radio"]:checked + label::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Brand Colors Styling */
.brand-colors {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.color-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-picker label {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #666;
}

.color-picker input[type="color"] {
    width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    background: none;
}

.color-picker input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

.color-picker input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

/* Product Add-ons Styling */
.addons-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.addon-option {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.addon-option:hover {
    border-color: #aaa;
}

.addon-option input[type="checkbox"] {
    margin-right: 8px;
}

/* File Upload Styling */
#business_logo_field, #assets_field {
    margin-bottom: 1.5em;
}

#business_logo_field input[type="file"],
#assets_field input[type="file"] {
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .template-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .addons-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .template-options {
        grid-template-columns: 1fr;
    }
    
    .brand-colors {
        flex-direction: column;
        align-items: flex-start;
    }
}