﻿:root {
    /* Shadows */
    --shadow-soft: 0 0 4px 2px rgba(0, 0, 0, 0.05); /* soft shadow */
    /* Base Colors */
    --color-surface: #ffffff; /* white */
    --color-dark: #000000; /* black */
    /* Gray Palette */
    --color-gray-light: #f5f5f5; /* white smoke */
    --color-gray-medium: #e1e1e1; /* light gray */
    --color-gray-border: #cccccc; /* silver gray */
    /* Gold Palette */
    --color-gold-light: #d9ab58; /* light gold */
    --color-gold-dark: #a67c1f; /* dark gold */
    /* Status Colors */
    --color-success: green; /* green */
    --color-danger: red; /* red */
}

ul {
    margin: 0;
}

.widget-container {
    min-width: 20%;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
}

.widget-body {
    border-radius: 0px 0px 15px 15px;
    margin: 0 auto;
    margin-bottom: 10px;
    box-shadow: var(--shadow-soft);
    padding: 10px;
    min-height: 100px;
    width: 99.5%;
}

.widget-header {
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    padding: 10px;
    background-color: var(--color-gray-medium);
    color: var(--color-dark);
    font-size: large;
    position: relative;
    padding-right: 50px;
    border-radius: 15px 15px 0px 0px;
    font-weight: bold;
}

.caretIcon {
    position: absolute;
    top: 3px;
    right: 20px;
    font-size: 40px;
    color: var(--color-gold-light);
}

.widgetIcon {
    width: 30px;
    height: 30px;
    background-color: var(--color-gold-light);
    border-radius: 50%;
    text-align: center;
    color: var(--color-surface);
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}

.widget-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-gold-dark);
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
}

.student-profile-pic-container {
    text-align: center;
    flex-basis: 15%;
}

.student-profile-pic-container-mobile {
    display: none;
}

.person-metadata {
    display: flex;
    gap: 2px
}

.student-profile-details {
    flex-basis: 85%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

student-profile-sub-details {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.instructions-link {
    display: block;
    background-color: var(--color-dark);
    color: var(--color-surface);
    padding: 10px;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 0 0 15px 15px;
}

    .instructions-link:hover {
        text-decoration: none;
        cursor: pointer;
        color: var(--color-surface) !important;
    }

.green-icon {
    color: var(--color-success);
}

.red-icon {
    color: var(--color-danger);
}

.separator {
    padding: 0 2px;
}

.icon-list-wrapper {
    width: 100%;
    padding: 2px 0;
}

.icon-list {
    list-style: none;
    padding: 0;
}

    .icon-list li {
        display: inline-block;
        margin-right: 10px;
    }

.rounded-container {
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-soft);
    width: inherit;
}

.container-footer {
    display: block;
    color: var(--color-gray-light);
    padding: 10px;
    align-content: center;
    text-align: center;
    text-decoration: none;
}

    .container-footer a {
        display: block;
        background-color: var(--color-surface);
        color: var(--color-dark);
        font-weight: bold;
        border: 0;
        cursor: pointer;
        left: 50%;
    }

        .container-footer a:hover {
            text-decoration: none;
            cursor: pointer;
        }

.event-section {
    background-color: var(--color-gray-medium);
    padding: 5px 10px;
    position: relative;
    margin-right: 10px;
    display: flex;
    width: 100%;
    align-items: center;
}

.three-dot-btn {
    position: relative;
    display: flex;
    margin-top: 10px;
    margin-right: 10px;
    cursor: pointer;
    color: var(--color-dark);
    margin-bottom: -10px;
    z-index: 3;
}

    .three-dot-btn .dropdown-profile-action-btn i {
        font-size: 24px;
    }

.event-date {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--color-gray-border);
    justify-content: space-around;
    padding-right: 4px;
    flex-basis: 20%;
}

.event-detail {
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
    margin: 0 auto;
}

.row-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.calendar-icon {
    margin-right: 10px;
    border-radius: 50%;
}

.p-0 {
    padding: 0 !important;
}

.dropdown-profile-action {
    border-radius: 2px;
    display: flex;
    gap: 10px;
    line-height: 1;
    font-weight: 600;
    position: relative;
    display: block;
}

.dropdown-profile-action-btn {
    color: var(--color-dark);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: transparent !important;
    display: flex;
    gap: 10px;
}

.dropdown-profile-action-content {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background-color: var(--color-gray-medium);
    min-width: 200px;
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
}

    .dropdown-profile-action-content a {
        display: block;
        text-decoration: none;
        font-weight: 400;
        padding: 8px 8px;
        cursor: pointer;
        color: var(--color-dark);
    }

.student-profile-pic {
    border-radius: 50%;
    font-size: 35px;
    color: var(--color-surface);
    text-align: center;
    width: 120px;
    max-height: 120px;
    margin-top: 10px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meta-top-left {
    width: 95%;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin: 0px 10px;
}


@media (max-width: 768px) {
    .widget-container {
        min-width: 99%;
        padding: 0;
    }

    .widget-header {
        border-radius: 15px;
        margin-bottom: 10px;
    }

    .widget-body {
        border-radius: 15px;
        margin-bottom: 10px;
        width: 99%;
    }

    :not(#wdgInstructions) > .widget-body {
        width: 100%;
        padding: 0;
        box-shadow: none;
        overflow: hidden;
        margin: 10px auto;
        border-radius: 0;
    }

    .widget-title {
        padding: 0 20px;
    }

    .rounded-container {
        box-shadow: var(--shadow-soft);
        width: 99%;
    }

    .person-metadata {
        flex-direction: column;
        gap: 4px;
        width: 50%;
        padding-top: 20px;
    }

        .person-metadata b {
            font-size: 20px;
            word-break: break-word;
        }

    .meta-top-left {
        width: 100%;
    }

    .separator {
        display: none;
    }

    .student-profile-pic-container {
        display: none;
    }

    .student-profile-pic-container-mobile {
        display: block;
        padding: 0px;
    }

    .student-profile-sub-details {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .event-section {
        flex-wrap: nowrap;
        font-size: 12px;
    }

    .event-date {
        width: max-content;
        display: flex;
        justify-content: space-around;
        flex-basis: 25%;
    }

    .event-detail {
        width: max-content;
        word-break: break-word;
        flex-basis: 72%;
    }

    .row {
        margin: auto;
    }

    .container {
        padding: 0px;
        position: relative;
        margin: 4px auto;
    }

    .row-wrapper {
        padding: 0px 2px;
    }

    .three-dot-btn {
        position: absolute;
        right: 10px;
        top: 10px;
        margin-top: 0px;
        margin-right: 0px;
        z-index: 3;
    }

    .student-profile-details {
        padding: 0px;
        gap: 4px;
        width: 95%;
    }

    .student-profile-sub-details {
        padding-top: 4px;
    }
}

.noWrap {
    white-space: nowrap;
}

@media (max-width: 613px) {
    .student-profile-details {
        flex-basis: auto !important;
    }
}
