.kit-types-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.kit-type-card {
    flex: 1 1 calc(33.333% - 16px); /* Adjust the percentage to control the number of columns */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin: 8px;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
}

.kit-type-card h3 {
    font-size: 2em;
}

.kit-type-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .kit-type-card {
        flex: 1 1 calc(50% - 16px); /* Two columns on medium screens */
    }
}

@media (max-width: 480px) {
    .kit-type-card {
        flex: 1 1 100%; /* Single column on small screens */
    }
}


.warning-box {
    display: flex;
    align-items: center;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    float: right;
    max-width: 400px;
    font-size: 1.2em;
    margin-left: 50px;
}
@media (max-width: 480px) {
    .warning-box {
        margin-left: 0
    }
}

.warning-box i {
    font-size: 2em;
    margin-right: 30px;
    margin-left: 20px;
}


/*DETAILS*/

.set-title {
    font-size: 1.8em;
    margin-bottom: 0px;
    font-weight: 400;
}
.set-description {
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .set-title {
        text-align: center;
    }
    .set-description {
        text-align: center;
    }    
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 50px;
    clear: both;
}

@media (max-width: 480px) {
    .steps-grid {
        justify-content: center;
    }
}

.step-card {
    flex: 1 1 calc(33.333% - 16px); /* Adjust the percentage to control the number of columns */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin: 8px;
    border: 1px solid silver;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    max-width: 300px;
    position: relative;
}


.step-card span {
    position: absolute;
    top: -10px;
    left: -20px;
    background-color: rgb(248, 248, 248);
    width: 50px; /* Adjust the width as needed */
    height: 50px; /* Adjust the height to be equal to the width */
    border: 1px solid silver;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: 500;
    color: rgb(30, 161, 50); /* Optional: Adjust text color if the span contains text */
}

.step-card img {
    max-width: 280px;
    height: auto;
    border-radius: 5px;
}

.step-card p {
   padding: 0 20px;
}

@media (max-width: 768px) {
    .step-card {
        flex: 1 1 calc(50% - 16px); /* Two columns on medium screens */
    }
}

@media (max-width: 480px) {
    .step-card {
        flex: 1 1 100%; /* Single column on small screens */
    }
}



/*LIST*/






.instruction-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.instruction-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    background-color: white;
    border: 1px solid silver;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 360px;
    width: 100%;
    text-align: left;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instruction-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.instruction-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.instruction-card-icon {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.instruction-card-content {
    display: block;
    width: 100%;
}

.instruction-card-title {
    font-size: 1.5em;
    margin-bottom: 0px;
}

.instruction-card-status {
    font-size: 1em;
    color: #555;
    margin-bottom: 0px;
}

.instruction-card-date {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 0px;
}


/* View button */
.instruction-card-view-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top:10px;
    font-weight: 500;
}

.instruction-card-view-btn:hover {
    background-color: #0056b3;
    color: white;
}

/* Responsive styles */
@media (min-width: 600px) {
    .instruction-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

 s

  s
}


/* IMportance levels */

.step-card.importance-1 {
    background-color: #fffada; /* Light yellow for importance level 1 */
    border-color: #d18109;
}
.step-card.importance-1 span {
    color: #d18109; 
    border-color: #d18109; 
}

.step-card.importance-2 {
    background-color: #ffeadd; /* Light orange for importance level 2 */
    border-color: #f37324;
}
.step-card.importance-2 span {
    color: #f37324; 
    border-color: #f37324;
}

.step-card.importance-3 {
    background-color: #ffdbda; /* Light red for importance level 3 */
    border-color: #9a0b09; 
}
.step-card.importance-3 span {
    color: #9a0b09; 
    border-color: #9a0b09; 
}

.step-card.importance-4 {
    background-color: #d3d5ff; /* Red for importance level 4 */
    border-color: #464cca;
}
.step-card.importance-4 span {
    color: #464cca; 
    border-color: #464cca;
}
