@import "theme.css";
@import "menu.css";
@import "dialog.css";
@import "filter.css";
@import "login.css";
@import "color_picker.css";
@import "ticker_header.css";
@import "user_mapping.css";
@import "reports.css";
@import "venue.css";
@import "utility.css";
@import "loading.css";
@import "competitor.css";
@import "ticket_cost.css";
@import "payout_administration.css";
@import "pusher_feed.css";
@import "game_report.css";
@import "events_style.css";
@import "sim.css";
@import "team_management.css";
@import "scout_bonus.css";
@import "game_bookings.css";
@import "multisport_schedule.css";
@import "jersey_edit.css";
@import "scout_manager_performance.css";
@import "scout_payment_report_data.css";
@import "leaderboard.css";
@import "past_games.css";
@import "duration_adm.css";
@import "consent.css";

html {
    font-size: 11px;
    font-family: -apple-system,
    BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
}

/* Style for button to fit the theme */
body .ui-button {
    background: #90caf9;
    color: #212529;
    border: 1px solid #90caf9;
    margin: 2px;
    outline: 0 none;
    border-radius: 4px;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, opacity .2s
}

html, body {
    height: 100%;
}

#page-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body .ui-commandlink {
    margin: 5px;
}

input[type="submit"] {
    padding: .5rem 1rem;
}

/*Used in header component.*/
.view-header {
    margin: 10px 0 8px 10px;
    font-weight: 700;
}

.welcome-page-container {
    margin: 10px 0 8px 10px;
}

.no-data-available-text {
    font-size: 14px;
    margin: 15px 10px 15px 10px;
}

.file-upload-row {
    max-height: 50px;
}

/* used for p:outputPanel, won't work as expected for panel grid */
.filter-panel-content {
    display: flex;
    gap: 2rem;
    justify-content: start;
    align-items: center;
}

/* center and create gap for input fields and inline elements */
.filter-panel-item {
    display: flex;
    gap: .5rem;
    align-items: center;
}


.action-column {
    width: 90px;
}

.action-buttons-right {
    display: flex;
    justify-content: right;
}

/* validation asterisk */
.msg-pointer {
    color: #fd4f46;
}

/* used when displaying data that can't be displayed in dataTable primefaces element */
.data-table {
    border: 1px hidden #c4c4c4;
}

.center-cell {
    text-align: center;
    vertical-align: middle;
}

.exception-text {
    color: #D32F2F;
    background-color: #FFEBEE; /* Very light red background */
    font-family: monospace; /* Ensures stack traces are easily readable */
    padding: 8px; /* Adds some padding around the text */
    border-left: 4px solid #B71C1C; /* A darker red border on the left for added emphasis */
    margin-bottom: 10px; /* Adds some space below the block for separation */
    display: block;
    white-space: pre-wrap; /* Preserves formatting and line breaks */
    word-wrap: break-word; /* Ensures long lines do not overflow */
}

.legend-item-style {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin-right: 3px;
    border: solid 1px;
}

.column-auto {
    width: auto;
}

.small-img {
    border: 1px solid black;
    width: 150px;
    height: 40px;
}

.ui-messages-error ul {
    display: grid;
}

.acknowledge-text {
    display: inline;
    margin-left: 5px;
    color: red;
}

.scrollable {
    overflow: auto;
    max-height: 500px;
}

.header-panel {
    display: flex;
    gap: 4rem;
    align-items: start;
}

.column-flex {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ui-datatable tfoot td {
    text-align: center !important;
}

.rating-border {
    border: 1px solid darkgrey;
    text-align: center;
    padding: 5px
}

.upload-prompt .ui-fileupload .ui-fileupload-buttonbar {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 15px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Hover effect to encourage interaction */
.upload-prompt .ui-fileupload .ui-fileupload-buttonbar:hover {
    background-color: #e9f7fe;
    border-color: #2980b9;
    cursor: pointer;
}

.ui-datatable .ui-datatable-data .ui-state-highlight a {
    color: white !important;
}

.centered-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
}

.centered-logo .ui-menuitem-link {
    padding: 0;
    background: transparent;
    border: none;
}


/* Remove shadow/overlapping input element for color picker */
.clr-field button {
    margin-right: 0;
    height: 100%;
}
.clr-field > input.ui-state-focus {
    box-shadow: none !important;
    border-radius: 0 !important;
    border-color: inherit !important;
    outline: none !important;
}

/* Updates default dropdowns height */
.ui-selectonemenu-panel {
    max-height: 800px !important;
}

.ui-selectonemenu-items-wrapper {
    max-height: 700px !important;
}