/* Mali Tablolar Shortcode Styles */

.mali-tablolar-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.mali-tablolar-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}

.form-field {
    flex: 1;
}

.form-button-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.form-field select {
    width: 100% !important;
}

/* Select2 custom styling */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 12px;
    padding-right: 20px;
    font-size: 16px;
    color: #333;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 8px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #1a365d;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

.select2-dropdown {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1a365d;
}

.select2-container--default .select2-results__option {
    font-size: 16px;
    padding: 8px 12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    font-size: 16px;
    padding: 8px;
}

.listele-btn {
    background: #1a365d;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.listele-btn:hover {
    background: #2c5282;
}

.results-section {
    display: none;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.results-header {
    font-size: 18px;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 20px;
    text-align: center;
}

.repeater-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.repeater-item:hover {
    background: #e9ecef;
    border-color: #1a365d;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}
