/**
 * WP FIARC Shortcodes Styles
 *
 * Minimal styles for shortcode components.
 * Tables rely on Bootstrap classes already present in the theme.
 */

/* Search form container */
.fiarc-search-form {
    border: 1px solid #c1c1c1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Ensure form controls have proper spacing */
.fiarc-search-form .form-group {
    margin-bottom: 15px;
}

/* Submit button spacing */
.fiarc-search-form input[type="submit"] {
    margin-top: 10px;
}

/* Trophy colors - applied via inline styles by wp_fiarc_get_trophy_icon() */
/* These classes provide fallback/override options */
.fiarc-trophy-gold {
    color: #ffd700;
}

.fiarc-trophy-silver {
    color: #b1b1b1;
}

.fiarc-trophy-bronze {
    color: #cd7f32;
}

/* First place row highlight */
.table tr.success,
.table tr.success td {
    background-color: #dff0d8 !important;
}

/* Shortcode wrapper spacing */
.fiarc-competition-ranking,
.fiarc-archer-summary,
.fiarc-club-competitions,
.fiarc-year-summary,
.fiarc-archery-search {
    margin: 15px 0;
}

/* Improve table readability on smaller screens */
.table-responsive {
    margin-bottom: 15px;
}

/* Alert styling fallback if Bootstrap not loaded */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

/* Abbreviation styling for division/style codes */
abbr[title] {
    cursor: help;
    text-decoration: underline dotted;
}
