/*  2.1
Developer: profygroup.com
Screen resolution: 460, 860, 1200, 1600, 1920 */
/* BASIC */
:root {
    --bg: #f9f9f9;
    --bg2: #fff;
    --text: #000;
    --text1: #fff;
    --color1: #5249b7;
    --color2: #5e56bc;
    --primary: #3f51b5;
    --primary-hover: #303f9f;
    --light: rgb(255 255 255 / 10%);
    --light2: rgb(255 255 255 / 30%);
    --dark: rgb(0 0 0 / 30%);
    --radius: 15px;
}



* {
    background: 0 0;
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    box-sizing: border-box
}

html {
    font-size: 100%;
    scroll-behavior: smooth
}

.wrapper {
    min-width: 320px;
    position: relative;
    overflow: hidden;
}

.container {
    position: relative;
    max-width: 1160px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.content {
    min-height: 100vh;
    margin-top: 30px;
    margin-bottom: 30px;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 30px;
}

h1 {
    font-size: 35px;
    font-weight: bold;
}

h2 {
    font-size: 25px;
    font-weight: bold;
}

h3 {
    font-size: 20px;
    line-height: 1.4;
}

h4 {
    font-size: 18px;
    line-height: 1.4;
}

p {
    font-size: 16px;
    line-height: 1.8;
}

h1+p,
h2+p {
    margin-top: -10px;
    margin-bottom: 20px;
}

ol,
ul {
    list-style: none;
}

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

button,
input,
select,
textarea {
    font-size: 16px;
    font-family: inherit;
}

input:not([type=checkbox]) {
    display: inline-block;
    background: var(--bg2);
    color: inherit;
    padding: 15px 20px;
    border-radius: 10px;
    width: 100%;
}

input[type=button],
input[type=checkbox],
input[type=file],
input[type=image],
input[type=radio],
input[type=reset],
input[type=submit] {
    width: auto;
}

input[type="checkbox"],
.checkbox input,
.comments_subscribe input,
.pm_outbox_copy input {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    vertical-align: middle;
    display: inline-block;
    border: 2px solid #5a5a5a;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    margin: 10px 0;
    margin-right: 15px;
    cursor: pointer;
}

input[type="checkbox"]:checked:before,
.checkbox input:checked:before,
.comments_subscribe input:checked:before,
.pm_outbox_copy input:checked:before {
    content: "";
    position: absolute;
    display: inline-block;
    left: 4px;
    top: 4px;
    width: 9px;
    height: 5px;
    border-radius: 1px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
}

input[type="checkbox"]:checked,
.checkbox input:checked,
.comments_subscribe input:checked,
.pm_outbox_copy input:checked {
    background-color: var(--color1);
    border: 2px solid var(--color1);
}

textarea {
    background: var(--bg2);
    color: var(--text);
    padding: 15px 20px;
    border-radius: 10px;
    width: 100%;
    border: 1px solid #5249b766;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(100, 95, 169, 0.1);
}

textarea::placeholder {
    color: var(--text);
    opacity: 0.7;
}


select {
    display: inline-block;
    background: var(--bg2);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 10px;
    width: 100%;
    height: 49px;
}

.m-btn,
.bbcodes,
button[type="submit"],
input[type="submit"],
input[type="button"] {
    display: inline-block;
    background-color: var(--color1);
    color: #fff;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

.m-btn:hover,
.bbcodes:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: var(--color2);
}

.m-grid2,
.m-grid3,
.m-grid4,
.m-grid5,
.m-grid6,
.m-grid7 {
    display: grid;
    grid-gap: 20px 20px;
    grid-auto-rows: max-content;
}

.m-grid7 {
    grid-template-columns: repeat(7, 1fr);
}

.m-grid6 {
    grid-template-columns: repeat(6, 1fr);
}

.m-grid5 {
    grid-template-columns: repeat(5, 1fr);
}

.m-grid4 {
    grid-template-columns: repeat(4, 1fr);
}

.m-grid3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {

    .m-grid7,
    .m-grid6,
    .m-grid5,
    .m-grid4,
    .m-grid3 {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.m-grid2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 460px) {

    .m-grid3,
    .m-grid2 {
        grid-template-columns: 1fr;
    }
}


.m-flex50 {
    flex: 1 1 0%;
    max-width: 100%;
    min-width: 50px;
}

.m-column {
    flex-direction: column;
    flex-wrap: nowrap;
}

.m-center {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}

.m-nowrap {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.m-contain img,
.m-contain video,
.m-contain iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-cover img,
.m-cover video,
.m-cover iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 860px) {
    .m-swipe {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto
    }

    .m-swipe>a,
    .m-swipe>div {
        min-width: max-content;
    }
}

.m-clamp2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.m-clamp3 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.m-clamp4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.m-scroll::-webkit-scrollbar {
    position: relative;
    width: 4px;
    border-radius: 10px;
}

.m-scroll::-webkit-scrollbar-thumb {
    background-color: var(--color1)
}

.m-scroll::-webkit-scrollbar-track {
    background-color: var(--light)
}

.m-none,
.hidden,
.m-mobile,
.m-desktop {
    display: none
}

@media (max-width: 860px) {
    .mmobile {
        display: block;
    }
}

@media (min-width: 860px) {
    .m-desktop {
        display: block;
    }
}

.m-float {
    position: relative;
    margin-bottom: 20px;
}

.m-float label {
    position: absolute;
    background: var(--bg);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    top: -13px;
    left: 12px;
    transition: 0.3s;
}

.m-float input::-webkit-input-placeholder,
.m-float textarea::-webkit-input-placeholder {
    opacity: 0;
    transition: 0.3s;
}

.m-float input:placeholder-shown:not(:focus)::-webkit-input-placeholder,
.m-float textarea:placeholder-shown:not(:focus)::-webkit-input-placeholder {
    opacity: 1;
    transition: 0.3s;
}

.m-float input:placeholder-shown:not(:focus)+label,
.m-float textarea:placeholder-shown:not(:focus)+label {
    background: transparent;
    visibility: hidden;
    opacity: 0;
    top: 12px;
}

.m-float input,
.m-float textarea {
    background: transparent;
    border: 1px solid var(--dark);
    border-radius: var(--radius);
    transition: 0.3s;
    height: 49px;
}

.m-float textarea {
    height: auto;
}

.m-float input:focus,
.m-float textarea:focus,
.m-float~textarea:focus {
    border: 1px solid var(--color1);
}


/* MODAL LOGIN */
.modal-login>a {
    display: inline-block;
    background: var(--light);
    /* padding: 10px 20px; */
    border-radius: var(--radius);
    cursor: pointer;
}

.modal-login>a i {
    margin-right: 10px;
    margin-top: 1px;
    float: left;
}

.modal-login form {
    display: none;
    position: fixed;
    width: 500px;
    max-width: 60vw;
    max-height: 60vh;
    left: 50%;
    transform: translate(-50%, 50%);
    margin-left: 0;
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 0 0 1000px var(--color1);
    padding: 40px 80px;
    border-radius: var(--radius);
    text-align: center;
    z-index: 9;
}

@media (max-width: 860px) {
    .modal-login form {
        width: 100%;
        max-width: 100vw;
        max-height: 80vh;
        transform: translate(-50%, 50%);
        margin-left: 0;
        padding: 30px;
        border-radius: 0;
    }
}

.modal-login form>i {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color1);
    color: var(--text1);
    border-radius: var(--radius);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
}

.modal-login form>i:hover {
    background: var(--color2);
}

.modal-login_lost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4e4e4e;
    margin-bottom: 20px;
}

.modal-login_lost a:hover {
    color: var(--color1);
}

/* Toggle Switch Styles */
.checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox label {
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: var(--text);
}

/* Toggle Switch */
.checkbox input[type="checkbox"]+label::before {
    content: '';
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-right: 8px;
    vertical-align: middle;
}

.checkbox input[type="checkbox"]+label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkbox input[type="checkbox"]:checked+label::before {
    background: var(--color1);
}

.checkbox input[type="checkbox"]:checked+label::after {
    transform: translate(20px, -50%);
}

.checkbox input[type="checkbox"]:hover+label::before {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.checkbox input[type="checkbox"]:focus+label::before {
    outline: 2px solid var(--color1);
    outline-offset: 2px;
}


.modal-login_btn a {
    background: #130d4e;
    margin-left: 20px;
}