﻿.mdc-card {    
    /*height: 370px;*/
    /*width: 470px;*/
}
.card__primary {
    padding: 1rem;
}

/** 
 * Styles for error alerts
 */
.a-alert-error {
    border-color: #CC0C39;
}

.text-error {
    color: #CC0C39 !important;
}

.a-alert-error .a-alert-container .a-icon.a-icon-alert {
    background-position: -452px -423px;
}

/** 
 * Styles for info alerts
 */
.a-alert-info {
    border-color: #1196AB;
}

.text-info {
    color: #1196AB !important;
}

.a-alert-info .a-alert-container .a-icon.a-icon-alert {
    background-position: -258px -355px;
}

/** 
 * Styles for success alerts
 */
.a-alert-success {
    border-color: #067D62;
}

.text-success {
    color: #067D62 !important;
}

.a-alert-success .a-alert-container .a-icon.a-icon-alert {
    background-position: -84px -117px;
}

/** 
 * Styles for warning alerts
 */
.a-alert-warning {
    border-color: #FFAF38;
}

.text-warning {
    color: #FFAF38 !important;
}

.a-alert-warning .a-alert-container .a-icon.a-icon-alert {
    background-position: -84px -97px;
}

/** 
 * General styles for all alerts
 */
.a-alert-container {
    background-color: #FFF;
    padding: 14px 18px 18px;
}

.a-alert-error, .a-alert-info, .a-alert-success, .a-alert-warning {
    position: relative;
    border-style: solid;
    border-width: 2px;
    border-left-width: 12px;
}

.a-alert-heading {
    padding-bottom: 10px;
}

.card__secondary {
    padding: 0 1rem 8px;
}

/*Horizontal image and text*/
.mdc-card__media.mdc-card__media--square {
    width: 150px;    
}

.mdc-card__media {
    position:unset;

}
 .mdc-card__media.mdc-card__media--square .img-events {
        padding: 10px;
        width: 150px;
    }

.mdc-card__primary-action-square {
    flex-direction: row;    
}
.mdc-card__action-icons {
    display:inline-flex;
}

.btn-group-sm .font-size-events {
    font-size: .6775rem;
}

/*Chips*/
.mdc-chip-set {
    padding: 1px
}

.mdc-chip-set .mdc-chip {
    margin: 1px;
}

/*Date picker - replaces form-control input*/
.date-picker-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    border: 1px solid var(--mdc-theme-on-surface, rgba(0, 0, 0, 0.38));
    border-radius: var(--mdc-shape-small, 4px);
    padding: 4px 8px;
    cursor: pointer;
    background: var(--mdc-theme-surface, #fff);
}

.date-picker-wrapper:hover,
.date-picker-wrapper:focus-within {
    border-color: var(--mdc-theme-primary, #000);
    border-width: 2px;
    padding: 3px 7px;
}

.date-picker-input {
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 0;
    color: var(--mdc-theme-on-surface, rgba(0, 0, 0, 0.87));
}

.date-picker-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.field-validation-valid {
    display: none;
}

.field-validation-error {
    display: block;
}

/*Select wrapper - replaces form-control dropdown*/
.mdc-select-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    border: 1px solid var(--mdc-theme-on-surface, rgba(0, 0, 0, 0.38));
    border-radius: var(--mdc-shape-small, 4px);
    padding: 4px 8px;
    background: var(--mdc-theme-surface, #fff);
    width: 100%;
}

.mdc-select-wrapper:hover,
.mdc-select-wrapper:focus-within {
    border-color: var(--mdc-theme-primary, #000);
    border-width: 2px;
    padding: 3px 7px;
}

.mdc-select-input {
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 0;
    color: var(--mdc-theme-on-surface, rgba(0, 0, 0, 0.87));
    width: 100%;
    height: 32px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,0.54)' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

/*Day grid - replaces Bootstrap table for event slots*/
.day-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.day-column {
    min-width: 80px;
}

.day-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 0;
    background-color: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    margin-bottom: 4px;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
}

.day-header__date {
    font-size: 0.85rem;
    text-transform: capitalize;
}

.day-header__month {
    font-size: 0.7rem;
    text-transform: capitalize;
    opacity: 0.7;
}

/*Chips Events - Pair grid for IsParentShowAllResources*/
.mdc-chip-set.chip-pair-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: unset;
    gap: 2px;
}

.chip-pair-grid .mdc-chip {
    margin: 0;
    min-width: 0;
    width: 100%;
}

@media (max-width: 1023px) {
    .mdc-chip-set.chip-pair-grid {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
    }

    .chip-pair-grid .mdc-chip {
        width: auto;
        min-width: auto;
        margin: 0;
    }
}

.chip-event-slot {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: box-shadow 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}

.chip-event-slot:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.chip-event-slot:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.mdc-chip__text-events {
    display: table-caption;
    font-size: 0.8rem;
}
.mdc-chip-set {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mdc-chip {
    border-radius: 25px;
    justify-content: center;
    height: 40px;
    /*font-weight: 600;*/
    letter-spacing: 0.05em;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
 .mdc-chip:hover {
        transform: scale(1.03);
        opacity: 0.95;    
  }

.mdc-chip__text {
    text-align: center;
    width: 100%;
}

/*Events Grid List Section*/
.events-card {
    border-radius: var(--mdc-shape-small, 18px);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    font-family: var(--mdc-typography-font-family, sans-serif);
}

.events-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.events-card .card__primary {
    padding: 1rem 1.25rem;
}

.events-card .card__title {
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 0 0 4px;
    line-height: 1.3;
    color: var(--mdc-theme-on-surface, #000);
}

.events-card .card__subtitle {
    margin: 0;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.4;
}

.events-card .card__secondary {
    padding: 0 1.25rem 12px;
    opacity: 0.8;
    line-height: 1.5;
}

.events-card .mdc-card__actions {
    padding: 8px 1rem 1rem;
}

.events-card .mdc-button--raised {
    border-radius: var(--mdc-shape-medium, 8px);
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--mdc-typography-font-family, sans-serif);
    letter-spacing: 0.089em;
    min-height: 42px;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.events-card .mdc-button--raised:hover {
    opacity: 0.92;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.events-card .img-events-round {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.events-image-center {
    padding: 20px 1rem 8px;
    margin: 0 auto;
}

.img-events-round {
    border-radius: 50%;
}

.events-card-divider {
    border: 0;
    height: 16px;
    margin: 0;
    background: transparent;
}

