@charset "utf-8";

a {
    color: unset;
    text-decoration: none;
}

p {
    font-size: 18px;
    color: rgb(0, 0, 0);
    line-height: 1.3;
    margin-bottom: 5px;
}

.register-link {
    color: #0d6efd;
}

.border-custom {
    border: 1px solid #ccc;
    border-radius: 15px !important;
}

.text-red {
    color: red;
}

.is-invalid {
    border-color: red;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;       /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wx-1 {
    background: linear-gradient(to bottom, #d72229, #f28500, #fbb03b, #fff);
    padding: 1rem 0 0.5rem;
}

.benefit-section {
    margin: 1.25rem auto;
    background-color: #f4ece1;
    border-radius: 2rem;
    box-shadow: 0 0 1.25rem rgba(0,0,0,0.1);
    padding: 1rem;
    display: flex;
}

.benefit-section .content-banner {
    padding-left: 15px;
}

.benefit-section .content-banner .text {
    font-size: 40px;
    color: #c21a1f;
    font-weight: bold;
    line-height: 1.2;
}

.benefit-section .content-banner .text-italic {
    padding: 10px 0px;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
}

.benefit-section .content-banner .text-icon {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.writing_xpert_top .title {
    color: #c21a1f;
}

.card-noti {
    box-shadow: 0 0 0.25rem rgb(0 0 0 / 28%);
    border-radius: 15px;
}

.nav button {
    font-size: 18px;
    border-radius: 15px !important;
    box-shadow: 0 0 0.25rem rgb(0 0 0 / 28%);
    color: black !important;
    text-decoration: none;
    display: block;
    padding: .5rem 1rem;
    border: none;
    background-color: white;
}

.nav button.active{
    background-color: #d32128 !important;
    color: white !important;
}

.tab-content {
    font-size: 18px !important;
}

.badge {
    font-size: 16px !important;
}

textarea {
    resize: vertical;
    overflow: auto;
}

textarea::-webkit-resizer {
    display: none;
}

.vertical-resize {
    border-radius: 15px;
}

.word-count {
    color: #6c757d;
}

.warning-text {
    color: #dc3545;
    font-style: italic;
}

.btn-grade {
    background-color: #dc3545;
    color: white;
    font-weight: bold;
    padding: 5px 30px;
    border: 5px solid #ffbb13;
    border-radius: 30px;
}

.btn-secondary-custom {
    background-color: #e0e0e0;
    color: #333;
    border: 1px solid #ccc;
    padding: 5px 35px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.btn-secondary-custom:hover {
    background-color: #d5d5d5;
    color: #000;
}

.info-box {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 15px;
    background-color: #f8f9fa;
    min-height: 120px;
}

.text-container {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.text-container.collapsed-2 {
    -webkit-line-clamp: 2;
}

.text-container.collapsed {
    -webkit-line-clamp: 6;
}

.text-container.expanded {
    -webkit-line-clamp: unset;
}

.invalid-feedback {
    display: none;
}

input.form-control.is-invalid,
select.form-select.is-invalid,
textarea.form-control.is-invalid {
    background-image: none !important;
    padding-right: 0.55rem !important;
}

input.form-control.is-invalid + .top-50{
    top: 30% !important;
}

.btn-login-link {
    background: none;
    border: none;
    color: red;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font: inherit; /* giữ nguyên font của h5 */
}
.page-link {
    position: relative;
    display: block;
    color: #d32128;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.page-link:hover {
    z-index: 2;
    color: #d32128;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
.page-link:focus {
    z-index: 3;
    color: #d32128;
    background-color: #e9ecef;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(250, 85, 33, 0.18);
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #d32128;
    border-color: #d32128;
}
