/* Overwrite Bootstrap Card styles for the user-panel menu items */

.user-info .card-header,
.user-panel .text-center span,
.card .card-header .btn,
.card .card-body a {
    text-decoration: none;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.5;
}

.card {
    width: 100%;
}

/* Overwrite Bootstrap Card styles for the Hackathon Card items */

.card-body a,
.hackathon-card {
    margin-bottom: 2px;
}

.user-info span,
.card .hackathon-card .btn {
    color: var(--p-grey);
}

.user-info label {
    font-size: .85rem;
    text-transform: uppercase;
    font-weight: bold;
    min-width: 100%;
    color: var(--p-orange);
}

.user-info p {
    font-size: 1.2rem;
}

.profile-about {
    white-space: pre-wrap;
}

.edit-profile div form p label {
    display: block;
}

.card .card-body a.profile-url {
    font-size: 1rem;
}

.card .card-body p.profile-website-url a {
    text-transform: lowercase;
}
/* For specific color targeting of 'o' chars in keeping with the CI Logo */

.ci-orange {
    color: var(--p-orange);
}

hr.thick {
    border: 2px solid var(--p-orange);
    border-radius: 2px;
}

/* Target specific text with heavier font weight */

html form label,
.dark-text {
    font-weight: 700;
}

.trophy-case {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border: 2px solid var(--p-orange);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px darkgray;
    position: relative;
    overflow: hidden; /* Ensure the shine effect doesn't overflow the card */
}

.trophy-case::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: var(--p-orange);
    border-radius: 5px 5px 0 0;
}

.trophy-case::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: var(--p-orange);
    border-radius: 0 0 5px 5px;
}

.trophy-case .card-img-top {
    border: 2px solid #d1d1d1;
    border-radius: 5px;
    margin: 5px;
}

.trophy-case::before,
.trophy-case::after {
    transition: all 0.3s ease;
}

.trophy-case:hover::before,
.trophy-case:hover::after {
    background: #b0e0e6;
}

.trophy-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.trophy-case:hover::before {
    left: 125%;
    transition: all 0.5s ease;
}

.hack-badge {
    cursor: pointer;
}

.hack-badge:hover {
    box-shadow: 0px 2px 4px 0px darkgray
}