/* Student Counter Plugin Styles */

/* Responsive styles for the counter box */
.st-counter-wrapper {
    width: 100%;
}

.st-counter-box {
    /* Ensure the box is responsive */
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile styles */
@media (max-width: 768px) {
    .st-counter-box {
        font-size: 14px !important; /* Reduce font size on mobile */
        padding: 10px !important; /* Reduce padding */
    }
    .st-counter-box .dashicons {
        font-size: 20px !important;
        width: 20px !important;
        height: 20px !important;
    }
    .st-counter-number {
        font-size: 16px !important; /* Ensure number is readable */
    }
}

/* Small screens */
@media (max-width: 480px) {
    .st-counter-box {
        flex-direction: column; /* Stack items vertically on very small screens */
        text-align: center !important;
    }
    .st-counter-box .dashicons {
        margin-left: 0 !important;
        margin-bottom: 5px !important;
    }
}

/* Ensure text doesn't overflow */
.st-counter-box span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}