/* VoteCard Public Styles */

.votecard-designer-wrapper {
    font-family: 'Hind Siliguri', Arial, sans-serif;
    background: #f5f5f5;
    padding: 30px 0;
}

.votecard-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.votecard-left-panel,
.votecard-middle-panel,
.votecard-right-panel {
    padding: 30px;
}

.votecard-left-panel {
    background: #f9f9f9;
    border-right: 1px solid #ddd;
    max-height: 700px;
    overflow-y: auto;
}

.votecard-middle-panel {
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.votecard-filters h2,
.votecard-preview h2,
.votecard-editor h2 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.filter-group select,
.filter-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Hind Siliguri', Arial, sans-serif;
    font-size: 14px;
}

.votecard-mps-gallery {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.mp-card {
    padding: 15px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mp-card:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0,115,170,0.2);
}

.mp-card.selected {
    border-color: #0073aa;
    background: #ecf3f9;
}

.mp-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.mp-info {
    font-size: 12px;
    color: #666;
}

.votecard-preview-area {
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.editor-group {
    margin-bottom: 20px;
}

.editor-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.editor-group input[type="text"],
.editor-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Hind Siliguri', Arial, sans-serif;
}

.editor-group small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 12px;
}

.votecard-generated-preview {
    margin: 20px 0;
    text-align: center;
}

.votecard-generated-preview img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-family: 'Hind Siliguri', Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.button-primary {
    background: #0073aa;
    color: #fff;
}

.button-primary:hover {
    background: #005a87;
}

.button-secondary {
    background: #27ae60;
    color: #fff;
}

.button-secondary:hover {
    background: #1e8449;
}

.votecard-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

.gallery-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item-info {
    padding: 15px;
}

.gallery-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.gallery-item-party {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.gallery-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #0073aa;
    margin-top: 10px;
}

.votecard-checkout-info {
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin: 15px 0;
    border-radius: 3px;
}

.votecard-checkout-info h3 {
    margin-top: 0;
    color: #333;
}

.votecard-design-preview {
    text-align: center;
}

@media (max-width: 1024px) {
    .votecard-container {
        grid-template-columns: 1fr;
        border: none;
    }
    
    .votecard-left-panel,
    .votecard-middle-panel {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}
