/* Custom styles for Panel Schedule Manager */
/* Artifact: styles.css v5 */
/* Changelog: Enhanced #circuitNameTip visibility with a warning-style orange border, black text for high contrast, transparent background, and adjusted padding for a subtle, distinct look */

body {
    font-family: sans-serif;
}

.card {
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-clickable:hover {
    cursor: pointer;
}

.small {
    font-size: 0.875rem;
}

.font-weight-medium {
    font-weight: 500;
}

.text-decoration-underline:hover {
    text-decoration: underline;
}

.card-title {
    font-size: 1.1rem;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

.circuit-action {
    font-size: 0.875rem;
}

.circuit-action:hover {
    text-decoration: underline;
}

html { height: 100%; }
body { min-height: 100%; display: flex; flex-direction: column; }
main { flex: 1; }
footer { margin-top: auto; }

/* Autocomplete suggestions */
#circuitNameSuggestions {
    position: absolute;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

#circuitNameSuggestions .dropdown-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
}

#circuitNameSuggestions .dropdown-item.active {
    background-color: #007bff;
    color: white;
}

/* NEC tips */
#circuitNameTip {
    font-size: 0.9rem; /* Slightly larger for readability */
    color: #000000; /* Black for maximum contrast and readability */
    border: 1px solid #fd7e14; /* Muted orange (Bootstrap warning color) for a warning-style border */
    background-color: transparent; /* Transparent background for subtlety */
    padding: 0.3rem 0.6rem; /* Slightly increased padding for a boxed appearance */
    border-radius: 0.25rem; /* Rounded corners for a polished look */
    margin-left: 0.5rem;
    display: inline-block; /* Ensure proper alignment */
}