.card {
    height: 100%;
}

code {
    color: black;
}

#jwt-task-card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#jwt-task-card ul {
    list-style-type: none;
}

#jwt-task-card ul li, #task-reqs ul li {
    margin-bottom: 10px;
}

#jwt-task-card .fa-server {
    color: #4CAF50;
}

#jwt-task-card .fa-bullseye {
    color: #FF5722;
}

.icon-access {
    color: #FFC107;
}

#jwt-task-card .fa-lightbulb {
    color: #03A9F4;
}

.icon-protected {
    color: #9C27B0;
}

.text-diagram .card-content > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    color: #363636;
}

.text-diagram i {
    margin-right: 0.4rem;
}

.icon-client {
    color: #2c3e50;
}

.icon-refresh {
    color: #03A9F4;
}

.icon-allowed {
    color: #4CAF50;
}

.token-box {
    margin-top: 0.5rem;
    background: #fffaf3;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    position: relative;
    box-shadow: inset 0 0 0 2px #ffdd57;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.token-box::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: repeating-linear-gradient(
            180deg,
            #ffdd57,
            #ffdd57 5px,
            #fffaf3 5px,
            #fffaf3 10px
    );
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

#jwt_steps {
    margin-top: 1.5rem;
}

.jwt-step-card {
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    background: #f5f5f5;
}

.jwt-step-card:hover {
    transform: translateY(-3px);
}

.jwt-step-card .card-content {
    padding: 1.5rem;
}

.jwt-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.step1 {
    background: linear-gradient(135deg, #a2d8d5, #76e1c6);
}

.step1 .jwt-icon {
    color: #54c3a7;
}

.step2 {
    background: linear-gradient(135deg, #a8c8f7, #68a2c7);
}

.step2 .jwt-icon {
    color: #5d99bf;
}

.step3 {
    background: linear-gradient(135deg, #f1b8a2, #f19c77);
}

.step3 .jwt-icon {
    color: #d5825f;
}

.step4 {
    background: linear-gradient(135deg, #efcf92, #f8cb74);
}

.step4 .jwt-icon {
    color: #d1a54e;
}


.jwt-step-card .link {
    color: #3c56cc;
    text-decoration: underline;
}

.jwt-step-card code {
    padding: 0.2em 0.5em;
    border-radius: 5px;
}

.title.is-6 {
    margin-top: 1.25rem;
}
