/* input(16,30): run-time error CSS1038: Expected hex color, found '#FFFFF' */
/*******************************************************************************************************************************************************
    Purpose: Manage UI of Prometric Landing Page
    Application: Candidate Management System 
    Application Version : 2.0
*********************************************************************************************************************************************************/


:root {
    /* Basic Colors */
    --color-primary-base: #FFFFFF;
    --color-primary: #0A1023; /* Deep navy blue */
    --color-secondary: #04b582; /* teal green */
    --color-accent: #FFD700; /* Gold */
    --font-family: Verdana, Arial, Helvetica, sans-serif;
    /* Body settings */
    --color-body-background: #FFFFF; /*#f5f7fa;*/ /* Body background color */
    --color-body-text: #333;
    --body-font-size: 12px;
    /* Header settings */
    --header-h: 80px;
    --logo-height: 50px;
    --header-left-width: 200px;
    --header-right-width: 200px;
    --menu-font-size: 14px;
    /* Content Settings */
    --content-wrapper-max-width: 80vw;
    /* Footer Settings */
    --color-link-hover: #16DFA5;
    /* Message Settings */
    --color-error: #cc0000;
    --error-font-size: 11px;
    --header-right-welcome-width: 200px;
    --font-size-welcome: 12px;
    /* Menu Settings */
    --color-radmenu-selected: #44524e;

    /* Variable used for Button Only*/
    --btn-font-size: 14px;
    --btn-font-weight: 500;
    --btn-color: #0A1023;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    background-color: #0A1023 !important; /* Dark Navy */
    font-family: var(--font-family) !important;
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    font-variant: normal;
    color: #F5F5F5 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ensures footer stays at bottom */
}

main {
    flex: 1; /* This expands to fill available space */
    display: flex;
}
    /* Center the main content only */
    main.center-screen {
        flex: 1; /* take available space between header and footer */
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* fills available space */
    text-align: center;
    padding-bottom: 2em;
}

.hero {
    padding: 10px 20px;
    text-align: center;
}

.my-4 {
    margin-top: .75rem !important;
    margin-bottom: .75rem !important;
}



.btn-primary {
    background-color: #16DFA5 !important; /* Green accent */
    border: 2px solid #16DFA5 !important;
    color: #0A1023 !important; /* Dark navy text for contrast */
    transition: all 0.3s ease-in-out;
    font-size: var( --btn-font-size) !important;
}


    .btn-primary:hover {
        background-color: #ffffff !important; /* White background */
        color: #0A1023 !important; /* Dark navy text */
        border: 2px solid #16DFA5; /* Green border */
        transform: translateY(-3px);
        box-shadow: 0 0 15px #16DFA5; /* Green glow */
        transition: all 0.3s ease; /* smooth effect */
    }

        .btn-primary:hover i {
            color: #000000 !important;
        }

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(22, 223, 165, 0.05);
    backdrop-filter: blur(5px);
    padding: 10px !important;
    text-align: center;
    color: #F5F5F5;
}

.footer-trust-landing {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--color-secondary)
}

.footer-text-landing {
    font-size: 10px;
    opacity: 0.9;
    display: inline-block;
    margin-top: 4px;
    color: var(--color-primary-base);
}

.footer-text-landing2 {
    font-size: 10px;
    opacity: 0.9;
    display: inline-block;
    margin-top: 0px;
    color: var(--color-primary-base);
}

footer a {
    color: var(--color-primary-base);
    text-decoration: none;
    margin-top: 4px;
}

    footer a:hover {
        color: #16DFA5; /* Green links */
        text-decoration: none;
    }

.icon-img {
    width: 100% !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important; /* Forces a square shape */
    object-fit: cover; /* Crops the image to fit the square */
}

/*img {
    width: 100% !important;*/ /* Fills parent container width */
    /*aspect-ratio: 1 / 1 !important;*/ /* Forces a square shape */
    /*object-fit: cover;*/ /* Crops the image to fit the square */
/*}*/

/********************************Card CSS ********************/

.card {
    background: rgba(22, 223, 165, 0.1); /* Green tint */
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(22, 223, 165, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    color: #F5F5F5;
}

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(22, 223, 165, 0.5); /* Green glow */
    }

.candidate-section {
    background: #34495e;
    border-radius: 10px;
    padding: 20px; /* increase padding so cards don’t touch edges */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .candidate-section h5 {
        margin-bottom: 30px; /* increase spacing below title */
    }

/* Candidate cards default: glassmorphism */
.bubble-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: none; /* blur(10px);*/
    -webkit-backdrop-filter: none;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    margin-bottom: 5px;
    border: 2px solid transparent;
    position: relative;
}

    /* Candidate cards on hover: zoom + glow + pulse */
    .bubble-card:hover {
        transform: scale(1.04) translateY(-8px);
        background: linear-gradient(135deg, #2c3e50, #34495e);
        border: 2px solid #0d6efd;
        box-shadow: 0 0 15px #0d6efd, 0 0 30px rgba(13,110,253,0.6);
        cursor: pointer;
        position: relative;
    }

        .bubble-card:hover::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            animation: pulseGlow 1.5s infinite alternate;
            pointer-events: none;
        }


/**************** Option 1 **************/
.tooltip-wrapper {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100%; /* match card width */
}

    /* Shared tooltip style */
    .tooltip-wrapper::after {
        content: attr(data-tooltip);
        position: absolute;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: none; /* blur(8px);*/
        -webkit-backdrop-filter: none; /* blur(8px);*/
        color: #fff;
        padding: 12px 15px;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.25);
        box-shadow: 0 0 15px rgba(13,110,253,0.6);
        text-align: center;
        opacity: 0; /* start fully transparent */
        pointer-events: none;
        z-index: 999;
        transition: opacity 0.6s ease-in-out 0.2s, transform 0.6s ease-in-out 0.2s;
        /* 🔑 0.2s delay applies to both fade-in and fade-out */
    }

    /* Image tooltip: centered inside image */
    .tooltip-wrapper.image-tooltip::after {
        left: 50%;
        /* top: 50%;*/
        bottom: 5px;
        width: 98%; /* keep within image */
        background: rgba(105, 112, 178, 0.8); /* #6970B2 with 80% opacity */
        color: #fff;
        border: 1px solid rgba(255,255,255,0.25);
        box-shadow: 0 0 15px rgba(105,112,178,0.6);
        animation: glowPulse 1.5s infinite alternate;
        animation-play-state: paused;
    }

    /* Hover states with distinct animations */
    .tooltip-wrapper.image-tooltip:hover::after {
        opacity: 1;
        /* transform: translate(-50%, -50%) scale(1);*/ /* zoom in */
        transform: translateX(-50%) scale(1); /* zoom in from bottom */
        /* animation: glowPulse 1.5s infinite alternate;*/
        animation-play-state: paused;
    }

    /* Title tooltip: above title */
    .tooltip-wrapper.title-tooltip::after {
        left: 50%;
        bottom: 100%; /* above element */
        width: 100%; /* stretch across card width */
        transform: translateX(-50%) translateY(15px); /* start lower */
        background: rgba(115, 113, 252, 0.55); /* semi-transparent #7371FC */
        color: #fff; /* white text for contrast */
        border: 1px solid rgba(255,255,255,0.25);
        box-shadow: 0 0 15px rgba(215,214,243,0.6);
        animation: glowPulse 1.5s infinite alternate;
        animation-play-state: paused;
    }

    .tooltip-wrapper.title-tooltip:hover::after {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px); /* slide up */
        animation-play-state: paused;
    }

.bubble-card h6 {
    position: relative;
    background: #0d6efd;
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 15px;
    /* overflow: hidden;*/
    width: 100%;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

@keyframes glowPulse {
    from {
        box-shadow: 0 0 10px rgba(106,27,154,0.4), 0 0 20px rgba(106,27,154,0.2);
    }

    to {
        box-shadow: 0 0 15px rgba(106,27,154,0.8), 0 0 30px rgba(106,27,154,0.4);
    }
}

.bubble-card .btn,
.proctor-card .btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    border-radius: 8px;
}

/**************End of Option 1 *********/

/* Glow animation keyframes */
@keyframes pulseGlow {
    from {
        box-shadow: 0 0 10px #0d6efd, 0 0 20px rgba(13,110,253,0.5);
    }

    to {
        box-shadow: 0 0 20px #0d6efd, 0 0 40px rgba(13,110,253,0.8);
    }
}

.h6, h6 {
    font-size: 13px !important;
}

.no-underline:hover {
    text-decoration: none;
}
