

/* =========================================================
   HEXAGONAL AUTHOR IMAGE
   SIZE: 75px × 75px
   ========================================================= */

.sidebar-author {
    width: 100px;
    height: 100px;

    margin: 15px auto;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}


/* =========================================================
   HEXAGON OUTER GLOW
   ========================================================= */

.author-hexagon {
    width: 100px;
    height: 100px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    /*
     * Hexagonal shape
     */
    clip-path: polygon(
        25% 3%,
        75% 3%,
        100% 50%,
        75% 97%,
        25% 97%,
        0% 50%
    );

    /*
     * Animated glowing background
     */
    background:
        linear-gradient(
            135deg,
            #2f54eb,
            #5b8cff,
            #00d4ff,
            #2f54eb,
            #8a5cff,
            #2f54eb
        );

    background-size: 400% 400%;

    animation:
        hexGlow 5s ease infinite,
        hexFloat 4s ease-in-out infinite;

    filter:
        drop-shadow(0 0 3px rgba(47, 84, 235, 0.9))
        drop-shadow(0 0 7px rgba(0, 212, 255, 0.6));

    z-index: 1;
}


/* =========================================================
   INNER HEXAGON
   ========================================================= */

.author-image {
    width: 92px;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111827;

    clip-path: polygon(
        25% 3%,
        75% 3%,
        100% 50%,
        75% 97%,
        25% 97%,
        0% 50%
    );

    overflow: hidden;

    position: relative;

    z-index: 2;
}


/* =========================================================
   AUTHOR IMAGE
   ========================================================= */

.author-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* =========================================================
   IMAGE HOVER
   ========================================================= */

.author-hexagon:hover .author-image img {
    transform: scale(1.12);

    filter:
        brightness(1.12)
        contrast(1.05);
}


/* =========================================================
   ANIMATED GRADIENT BORDER
   ========================================================= */

.author-hexagon::before {
    content: "";

    position: absolute;

    inset: 0;

    clip-path: polygon(
        25% 3%,
        75% 3%,
        100% 50%,
        75% 97%,
        25% 97%,
        0% 50%
    );

    background:
        conic-gradient(
            from 0deg,
            #2f54eb,
            #00d4ff,
            #ffffff,
            #8a5cff,
            #2f54eb
        );

    animation:
        hexRotate 3s linear infinite;

    z-index: -1;
}


/* =========================================================
   GLOWING AURA
   ========================================================= */

.author-hexagon::after {
    content: "";

    position: absolute;

    inset: -4px;

    clip-path: polygon(
        25% 3%,
        75% 3%,
        100% 50%,
        75% 97%,
        25% 97%,
        0% 50%
    );

    background:
        linear-gradient(
            135deg,
            #2f54eb,
            #00d4ff,
            #8a5cff
        );

    opacity: 0.6;

    filter: blur(7px);

    animation: glowPulse 2.5s ease-in-out infinite;

    z-index: -2;
}


/* =========================================================
   GRADIENT MOVEMENT
   ========================================================= */

@keyframes hexGlow {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}


/* =========================================================
   BORDER ROTATION
   ========================================================= */

@keyframes hexRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   GLOW PULSE
   ========================================================= */

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.35;
        filter: blur(5px);
    }

    50% {
        opacity: 0.85;
        filter: blur(9px);
    }

}


/* =========================================================
   FLOATING ANIMATION
   ========================================================= */

@keyframes hexFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .author-hexagon,
    .author-hexagon::before,
    .author-hexagon::after {

        animation: none;

    }

}

/* =========================================================
   AUTHOR NAME
   ========================================================= */

.sidebar-author {
    flex-direction: column;
    height: auto;
    gap: 7px;
}

.author-name {
    font-family: "Poppins", sans-serif;

    font-size: 10px;
    font-weight: 600;

    color: #ffffff;

    text-align: center;

    white-space: nowrap;

    text-shadow:
        0 0 4px rgba(47, 84, 235, 0.8);
}


/* =========================================================
   VBLINK HR CONSULTANTS
   SIDEBAR CALENDAR — HIGH CONTRAST VERSION
   ========================================================= */

.sidebar-calendar {

    width: 100%;
    max-width: 260px;

    margin: 10px auto;
    padding: 10px;

    box-sizing: border-box;

    font-family: "Poppins", sans-serif;

    /* Light glass background for better readability */
    color: #172554;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.97),
            rgba(239, 246, 255, 0.97)
        );

    border: 1px solid rgba(47, 84, 235, 0.30);

    border-radius: 16px;

    box-shadow:
        0 8px 22px rgba(15, 23, 42, 0.20),
        0 0 12px rgba(47, 84, 235, 0.12);

    overflow: hidden;

}


/* =========================================================
   CALENDAR HEADER
   ========================================================= */

.calendar-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 10px;

}


/* =========================================================
   MONTH / YEAR
   ========================================================= */

.calendar-title {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    line-height: 1.2;

}


#calendarMonth {

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.4px;

    color: #1d4ed8;

}


#calendarYear {

    margin-top: 2px;

    font-size: 9px;

    font-weight: 700;

    color: #475569;

}


/* =========================================================
   NAVIGATION BUTTONS
   ========================================================= */

.calendar-nav {

    width: 26px;
    height: 26px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #93c5fd;

    border-radius: 50%;

    background: #eff6ff;

    color: #1d4ed8;

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.calendar-nav:hover {

    background: #2f54eb;

    color: #ffffff;

    transform: scale(1.12);

    box-shadow:
        0 0 10px rgba(47, 84, 235, 0.45);

}


/* =========================================================
   WEEKDAY HEADER
   ========================================================= */

.calendar-weekdays {

    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    margin-bottom: 5px;

    padding-bottom: 5px;

    border-bottom:
        1px solid #dbeafe;

}


.calendar-weekdays span {

    display: flex;

    align-items: center;
    justify-content: center;

    height: 22px;

    font-size: 8px;

    font-weight: 800;

    color: #334155;

}


/* =========================================================
   CURRENT WEEKDAY
   ========================================================= */

.calendar-weekdays span.current-weekday {

    color: #1d4ed8;

    font-weight: 900;

    text-shadow:
        0 0 4px rgba(59, 130, 246, 0.35);

}


/* =========================================================
   CALENDAR DATE GRID
   ========================================================= */

.calendar-days {

    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    gap: 3px;

}


/* =========================================================
   INDIVIDUAL DATE
   ========================================================= */

.calendar-day {

    position: relative;

    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 9px;

    font-weight: 700;

    color: #1e293b;

    border-radius: 50%;

    cursor: default;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


/* =========================================================
   EMPTY CELLS
   ========================================================= */

.calendar-day.empty {

    visibility: hidden;

}


/* =========================================================
   WEEKENDS
   ========================================================= */

.calendar-day.weekend {

    color: #64748b;

}


/* =========================================================
   DATE HOVER
   ========================================================= */

.calendar-day:not(.empty):not(.today):hover {

    background: #dbeafe;

    color: #1d4ed8;

    transform: scale(1.10);

}


/* =========================================================
   TODAY
   ========================================================= */

.calendar-day.today {

    color: #ffffff !important;

    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #2f54eb
        );

    border: 2px solid #facc15;

    box-shadow:
        0 0 5px rgba(47, 84, 235, 0.80),
        0 0 12px rgba(47, 84, 235, 0.40);

    animation:
        todayPulse 2s ease-in-out infinite;

}


/* =========================================================
   TODAY PULSE
   ========================================================= */

@keyframes todayPulse {

    0%,
    100% {

        box-shadow:
            0 0 5px rgba(47, 84, 235, 0.65),
            0 0 10px rgba(47, 84, 235, 0.25);

    }

    50% {

        box-shadow:
            0 0 8px rgba(47, 84, 235, 0.90),
            0 0 17px rgba(47, 84, 235, 0.45);

    }

}


/* =========================================================
   CALENDAR FOOTER
   ========================================================= */

.calendar-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

    margin-top: 10px;

    padding-top: 8px;

    border-top:
        1px solid #dbeafe;

}


/* =========================================================
   TODAY BUTTON
   ========================================================= */

#todayButton {

    padding: 5px 9px;

    border: 1px solid #93c5fd;

    border-radius: 20px;

    background: #eff6ff;

    color: #1d4ed8;

    font-family: "Poppins", sans-serif;

    font-size: 8px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;

}


#todayButton:hover {

    background: #2f54eb;

    color: #ffffff;

    box-shadow:
        0 0 9px rgba(47, 84, 235, 0.50);

    transform: translateY(-1px);

}


/* =========================================================
   CURRENT DATE INFORMATION
   ========================================================= */

.current-date {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    line-height: 1.3;

}


#currentDayName {

    font-size: 8px;

    font-weight: 800;

    color: #1d4ed8;

}


#currentDateText {

    font-size: 7px;

    font-weight: 600;

    color: #475569;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .sidebar-calendar {

        max-width: 260px;

    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .calendar-day.today {

        animation: none;

    }

}




/* =========================================================
   VBLINK HR CONSULTANTS
   SIDEBAR ANALOG CLOCK
   100px × 100px
   ========================================================= */


/* =========================================================
   CLOCK WIDGET CONTAINER
   ========================================================= */

.sidebar-clock-widget {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 5px auto;

    padding: 5px;

    box-sizing: border-box;

}


/* =========================================================
   MAIN CLOCK
   ========================================================= */

.sidebar-clock {

    width: 100px;

    height: 100px;

    position: relative;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    /*
     * Beautiful light clock face
     */

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(239, 246, 255, 0.98) 65%,
            rgba(219, 234, 254, 1) 100%
        );


    /*
     * Animated blue border
     */

    border: 3px solid transparent;

    background-clip: padding-box;

    /*
     * Glow
     */

    box-shadow:

        0 0 5px rgba(47, 84, 235, 0.80),

        0 0 12px rgba(47, 84, 235, 0.55),

        0 0 22px rgba(0, 166, 255, 0.25);

}


/* =========================================================
   ANIMATED OUTER RING
   ========================================================= */

.sidebar-clock::after {

    content: "";

    position: absolute;

    inset: -3px;

    border-radius: 50%;

    background:
        conic-gradient(
            #1d4ed8,
            #00a6ff,
            #5b8cff,
            #7c3aed,
            #00a6ff,
            #1d4ed8
        );

    z-index: -1;

    animation:
        sidebarClockGlow 5s linear infinite;

}


/* =========================================================
   INNER CLOCK FACE
   ========================================================= */

.sidebar-clock::before {

    content: "";

    position: absolute;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background:
        #facc15;

    border:
        2px solid #1d4ed8;

    box-shadow:
        0 0 5px rgba(250, 204, 21, 0.80);

    z-index: 20;

}


/* =========================================================
   CLOCK NUMBERS
   MOVED CLOSER TO THE OUTER CIRCLE
   ========================================================= */

.sidebar-clock span {

    position: absolute;

    transform:
        rotate(calc(30deg * var(--i)));

    /*
     * Smaller inset = numbers move outward
     * toward the clock circumference.
     */
    inset: 4px;

    text-align: center;

    z-index: 5;

}


/* =========================================================
   NUMBER TEXT
   ========================================================= */

.sidebar-clock span b {

    display: inline-block;

    transform:
        rotate(calc(-30deg * var(--i)));

    color: #172554;

    font-family:
        "Poppins",
        Arial,
        sans-serif;

    font-size: 9px;

    font-weight: 800;

    line-height: 1;

    text-shadow:
        0 1px 1px rgba(255, 255, 255, 0.90);

    /*
     * Smooth hover transition
     */
    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;

}


/* =========================================================
   HOVER — NUMBER BECOMES WHITE
   ========================================================= */

.sidebar-clock span:hover b {

    color: #ffffff;

    text-shadow:
        0 0 4px rgba(47, 84, 235, 0.95),
        0 0 8px rgba(0, 166, 255, 0.75);

}


/* =========================================================
   CLOCK HAND CONTAINER
   ========================================================= */

.sidebar-hand {

    position: absolute;

    display: flex;

    justify-content: center;

    align-items: flex-end;

    /*
     * Critical:
     * hands rotate from the center of the clock
     */

    width: 100%;

    height: 100%;

    left: 0;

    top: 0;

    transform-origin:
        center center;

    z-index: 10;

}


/* =========================================================
   HAND
   ========================================================= */

.sidebar-hand i {

    position: absolute;

    bottom: 50%;

    left: 50%;

    transform:
        translateX(-50%);

    background-color:
        var(--clr);

    width: 3px;

    height: var(--h);

    border-radius: 8px;

    transform-origin:
        bottom center;

}


/* =========================================================
   HOUR HAND
   ========================================================= */

#sidebarHour i {

    width: 3px;

    background:
        linear-gradient(
            to top,
            #172554,
            #1d4ed8
        );

    box-shadow:
        0 0 3px rgba(29, 78, 216, 0.50);

}


/* =========================================================
   MINUTE HAND
   ========================================================= */

#sidebarMin i {

    width: 2px;

    background:
        linear-gradient(
            to top,
            #0369a1,
            #00a6ff
        );

    box-shadow:
        0 0 4px rgba(0, 166, 255, 0.60);

}


/* =========================================================
   SECOND HAND
   ========================================================= */

#sidebarSec i {

    width: 1.5px;

    background:
        #ef4444;

    box-shadow:
        0 0 5px rgba(239, 68, 68, 0.70);

}


/* =========================================================
   SECOND HAND COUNTERWEIGHT
   ========================================================= */

#sidebarSec i::after {

    content: "";

    position: absolute;

    width: 1.5px;

    height: 9px;

    left: 0;

    top: 100%;

    background:
        #ef4444;

    border-radius: 5px;

}


/* =========================================================
   CLOCK GLOW ANIMATION
   ========================================================= */

@keyframes sidebarClockGlow {

    0% {

        transform:
            rotate(0deg);

    }

    100% {

        transform:
            rotate(360deg);

    }

}


/* =========================================================
   HOVER EFFECT
   ========================================================= */

.sidebar-clock {

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.sidebar-clock:hover {

    transform:
        scale(1.06);

    box-shadow:

        0 0 7px rgba(47, 84, 235, 0.95),

        0 0 16px rgba(47, 84, 235, 0.65),

        0 0 25px rgba(0, 166, 255, 0.35);

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .sidebar-clock::after {

        animation: none;

    }

}