/*************************************************
 * AMWC PREMIUM STYLE
 *************************************************/

body {
    background: #F5F4FA;
}

#sessionBlocId {
    padding-top: 30px;
    padding-bottom: 60px;
}

/* Title */
#sessionBlocId #sessionTitle {
    font-weight: 700;
    color: #4B2E83;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Cards */
.speaker-card,
.session-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease;
}

.speaker-card:hover,
.session-card:hover {
    transform: translateY(-3px);
}

/* Speaker image */
.speaker-card img {
    max-width: 110px;
    max-height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #EAE6F5;
}

/* Speaker name */
.speaker-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #4B2E83;
}

/* Speaker country */
.speaker-card p.text-muted {
    margin-top: 3px;
    font-size: 0.85rem;
}

/* Presentation text */
.speaker-card .fw-normal {
    color: #626262;
    font-size: 0.9rem;
}

/* Rating text captions */
.rating-container .caption {
    font-size: 0.8rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #4B2E83, #6B3FB1);
    border: none;
    padding: 10px 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 10px;
    transition: 0.2s ease;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

/* Already evaluated badge */
.badge.bg-success {
    background: #2ECC71 !important;
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* Evaluate badge */
.badge.bg-primary {
    background: #4B2E83 !important;
    padding: 6px 12px;
}

/* Session card title */
.session-card h5 {
    color: #4B2E83;
    font-weight: 700;
}

/* Textarea styling */
.session-card textarea {
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #e3e3e3;
}

/* Container width control */
#sessionBlocId .col-12.col-md-10.col-lg-8 {
    max-width: 780px;
}

/* Stars spacing */
.rating-container {
    margin-top: 10px;
    margin-bottom: 10px;
}

/********************
 * AMWC TOAST
 ********************/
.amwc-toast {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 99999;
    display: none;
}

.amwc-toast-content {
    background: #4B2E83;
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-out;
}

.amwc-toast-content i {
    font-size: 1.1rem;
}

/* Fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}


/********************
 * EXIT BUTTON STYLE
 ********************/
.exitBtn {
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #b40000;
    padding: 6px 16px;
}

.exitBtn:hover {
    background: #b40000;
    color: white;
}

.session-header {
    position: relative;
    padding-top: 10px;
    padding-bottom: 15px;
}

.session-header h3 {
    text-align: center;
    font-weight: 700;
    color: #4B2E83;
    margin: 0;
    font-size: 1.4rem;
}

.exitBtn {
    font-weight: 600;
    border-width: 2px;
    padding: 10px;
    border-radius: 10px;
}

.exitBtn:hover {
    background: #b40000;
    color: white;
}

/* Speaker photo small circle */
.speaker-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #EAE6F5;
}

/* Name */
.speaker-name {
    font-size: 1rem;
    font-weight: 700;
    color: #4B2E83;
}

/* Country */
.speaker-country {
    font-size: 0.85rem;
    color: #666;
}

/* Presentation text */
.speaker-presentation {
    font-size: 0.9rem;
    text-align: justify;
    color: #444;
}

/* Session title */
.session-title {
    color: #4B2E83;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Comment textarea */
.session-comment {
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #ddd;
    resize: none;
    padding: 10px;
    font-size: 0.95rem;
}

/* Session card container */
.session-card {
    background: #fff;
    border-radius: 18px;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform .25s ease;
}

.session-card:hover {
    transform: translateY(-3px);
}

/*************************************************
 * LOGIN CARD (welcome + form unified)
 *************************************************/
.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 28px 28px 20px;
    box-shadow: 0 8px 28px rgba(75, 46, 131, 0.12);
}

.login-logo {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.login-tagline {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #4B2E83;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.login-desc {
    text-align: center;
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.5;
}

.login-divider {
    border-color: #ece9f5;
    margin: 18px 0;
}

.login-label {
    font-size: 0.78rem;
    color: #666;
    margin-bottom: 4px;
    display: block;
}

.login-input {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-size: 0.95rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input:focus {
    border-color: #4B2E83;
    box-shadow: 0 0 0 3px rgba(75, 46, 131, 0.12);
    outline: none;
}

.login-note {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    margin-top: 14px;
    margin-bottom: 0;
}

/*************************************************
 * SKELETON LOADER
 *************************************************/
.skeleton-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.skeleton {
    background: linear-gradient(90deg, #ece9f5 25%, #ddd8f0 50%, #ece9f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 6px;
}

.skeleton-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-line {
    height: 14px;
    display: block;
    margin-bottom: 6px;
}

.skeleton-stars {
    height: 30px;
    width: 160px;
    margin-top: 8px;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/*************************************************
 * SAVING STATE
 *************************************************/
.speaker-card.saving,
.session-card.saving {
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.2s;
}

/*************************************************
 * PROGRESS
 *************************************************/
.eval-progress-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.progress {
    background: #ece9f5;
    border-radius: 4px;
}

.progress-bar {
    border-radius: 4px;
    transition: width 0.4s ease;
}

/*************************************************
 * SESSION META (time / room / profil)
 *************************************************/
.session-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.session-meta-item {
    font-size: 0.8rem;
    color: #666;
    background: #f3f0fa;
    border-radius: 20px;
    padding: 3px 10px;
}

.session-meta-item .fa {
    color: #4B2E83;
}

/*************************************************
 * EVAL BADGES (replace .badge.bg-primary/success)
 *************************************************/
.eval-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 10px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.eval-badge--todo {
    background: #ede9f8;
    color: #4B2E83;
}

.eval-badge--done {
    background: #d4f5e5;
    color: #1a8a4a;
}

/*************************************************
 * RATED CARD STATE
 *************************************************/
.speaker-card--rated {
    border-left: 3px solid #2ECC71;
}

.session-card--rated {
    border-left: 3px solid #2ECC71;
}

/*************************************************
 * CARD ENTER ANIMATION
 *************************************************/
.card-animate {
    opacity: 0;
    transform: translateY(12px);
    animation: cardIn 0.35s ease forwards;
}

@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*************************************************
 * SPEAKER EXTRAS (degree / location)
 *************************************************/
.speaker-degree {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    background: #4B2E83;
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 4px;
    vertical-align: middle;
}

.speaker-location {
    font-size: 0.78rem;
    color: #888;
    margin-top: 2px;
}

.speaker-location .fa {
    font-size: 0.7rem;
    color: #4B2E83;
}

/*************************************************
 * SESSION SPONSORED
 *************************************************/
.session-sponsored {
    font-size: 0.78rem;
    color: #4B2E83;
    background: #f3f0fa;
    border-radius: 8px;
    padding: 5px 10px;
    margin-bottom: 12px;
}

/*************************************************
 * RATING WRAP
 *************************************************/
.rating-wrap {
    padding: 6px 0 4px;
}

/*************************************************
 * SESSION COMMENT LABEL
 *************************************************/
.session-comment-label {
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 6px;
}

/*************************************************
 * FORM INPUT VALIDATION
 *************************************************/
#sessionIdForm .is-invalid {
    border-color: #b40000;
    box-shadow: 0 0 0 3px rgba(180,0,0,0.12);
}

#sessionIdForm .msgError {
    min-height: 1.4rem;
}