/* ==========================================
   ShopVista Edit Product Custom Styles
========================================== */

.full-width-card { 
    background: #fff; 
    padding: 24px; 
    border-radius: 10px; 
    box-shadow: 0 0 15px rgba(0,0,0,0.05); 
    margin-bottom: 30px; 
}

.form-grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
    margin-bottom: 15px; 
}

.textarea-group { 
    margin-bottom: 15px; 
}

.textarea-group textarea { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid #d1d3e2; 
    border-radius: 5px; 
    font-family: inherit; 
    resize: vertical; 
}

.checkbox-group { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-top: 35px; 
}

.checkbox-group input { 
    width: 18px; 
    height: 18px; 
    cursor: pointer; 
}

select.form-control { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid #d1d3e2; 
    border-radius: 5px; 
    background: #fff; 
}

.helper-text { 
    display: block; 
    font-size: 0.75rem; 
    color: #4e73df; 
    margin-top: 4px; 
}

.image-preview-box { 
    display: flex; 
    gap: 15px; 
    align-items: center; 
    margin-top: 10px; 
    background: #f8f9fc; 
    padding: 10px; 
    border-radius: 6px; 
}

.gallery-container { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    margin-top: 10px; 
}

.gallery-item { 
    position: relative; 
    width: 100px; 
    height: 100px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    overflow: hidden; 
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.gallery-item .delete-btn { 
    position: absolute; 
    top: 2px; 
    right: 2px; 
    background: rgba(231, 74, 59, 0.85); 
    color: #fff; 
    border: none; 
    border-radius: 50%; 
    width: 22px; 
    height: 22px; 
    font-size: 0.7rem; 
    cursor: pointer; 
    text-align: center; 
    line-height: 22px; 
    transition: background 0.2s ease;
}

.gallery-item .delete-btn:hover {
    background: rgba(231, 74, 59, 1);
}