/* Psychometric Tests Page Styles */
/* Additional styles for psychometric-tests.razor */

.psychometric-content {
    padding: 20px 30px;
}

.class-banner {
    text-align: center;
    margin-bottom: 20px;
}

.class-label {
    display: inline-block;
    background: #e9e7fd;
    color: #4E59A7;
    padding: 15px 40px;
    font-size: 24px;
    font-weight: 500;
    border-radius: 40px;
}

.tests-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 25px;
}

.tests-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.test-card {
    width: 230px;
    padding: 10px;
    border: 2px solid rgba(207, 216, 220, 0.3);
    border-radius: 15px;
    box-shadow: 0px 15px 50px 3px #B1B1B1;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.test-img {
    height: 140px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.test-title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    text-decoration: none;
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-divider {
    margin-top: 10px;
    height: 1px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    background: #095484;
    background-image: linear-gradient(to right, #FFFFFF, #B5B5B5, #FFFFFF);
    border: none;
}

.test-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    color: rgba(102, 102, 102);
}

.test-info i {
    margin-right: 8px;
    width: 16px;
}

.test-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 10px auto;
    padding: 12px 10px;
    background-color: #E9886B;
    color: white !important;
    text-decoration: none;
    text-align: center;
    border: 1px solid rgba(207, 216, 220, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.test-btn:hover {
    background-color: #d67858;
    color: white;
}

.more-tests {
    text-align: center;
    margin-top: 30px;
}

.more-tests a {
    font-size: 19px;
    font-weight: 500;
    color: #4E59AD;
    text-decoration: none;
}

.more-tests a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .class-label {
        font-size: 18px;
        padding: 12px 25px;
    }

    .tests-grid {
        justify-content: center;
    }

    .test-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .psychometric-content {
        padding: 15px;
    }

    .class-label {
        font-size: 16px;
        padding: 10px 20px;
    }
}
