@keyframes goal-animation {
    0% { background-color: #28a745; opacity: 1; }
    50% { background-color: #32cd32; opacity: 0.5; }
    100% { background-color: #28a745; opacity: 1; }
}

@keyframes cancel-goal-animation {
    0% { background-color: #ffcc00; opacity: 1; }
    50% { background-color: #ff9933; opacity: 0.5; }
    100% { background-color: #ffcc00; opacity: 1; }
}

@keyframes red-card-animation {
    0% { background-color: #b30000; opacity: 1; }
    50% { background-color: #ff1a1a; opacity: 0.5; }
    100% { background-color: #b30000; opacity: 1; }
}

.goal-highlight {
    animation: goal-animation 1.5s ease-in-out infinite;
    background: none !important;
    background-color: #28a745 !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 0px);
    padding: inherit;
    margin: 0 0px;
    box-sizing: border-box;
    overflow: hidden;
    height: 33px;
}

.cancel-goal-highlight {
    animation: cancel-goal-animation 1.5s ease-in-out infinite;
    background: none !important;
    background-color: #ffcc00 !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 0px);
    padding: inherit;
    margin: 0 0px;
    box-sizing: border-box;
    overflow: hidden;
    height: 33px;
}

.red-card-highlight {
    animation: red-card-animation 1.5s ease-in-out infinite;
    background: none !important;
    background-color: #b30000 !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 0px);
    padding: inherit;
    margin: 0 0px;
    box-sizing: border-box;
    overflow: hidden;
    height: 33px;
}

.goal-text, .red-card-text {
    color: white;
    padding: 10px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px solid #222;
    background-size: cover;
    margin: 0;
    border-radius: 0;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

@keyframes score-blink {
    0% { color: red; }
    50% { color: white; }
    100% { color: red; }
}

.blink {
    animation: score-blink 1s infinite;
}