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

body {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    color: $dark-color;
    //background: rgba(0, 0, 0, 0.01);
}

textarea, input, select {
    border-radius: 5px;
    width: 100%;
    border: 1px solid #e3e3e3;
    padding: 10px;
    outline: none;
    font-size: 14px;
    margin: 10px 0;
}

form {
    label {
        font-weight: 700;
        font-size: 12px;
    }
}

button {
    border-radius: 5px;
    background: $dark-color;
    color: #ffffff;
    border: 0;
    padding: 5px 10px;
    cursor: pointer;
    outline: none;

    &:hover {
        background: darken($theme-color, 20);
    }
}

a {
    color: $dark-color;
    font-weight: 500;
}

.container {
    width: 1115px;
    margin: 0 auto;
}

.main {
    margin: 100px 0 0 0;
}

.invalid-feedback {
    display: block;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    color: red;
    margin: 10px 0;
}

.msg-success {
    padding: 10px;
    background: rgba(0, 128, 0, 0.22);
    color: green;
    border-radius: 5px;
}

.avatar-edit {
    display: block;
    height: 300px;
    width: 300px;
    border-radius: 10px;
    object-fit: cover;
    margin: 10px 0;
}

.public-article {
    height: 60px;
}

.public-article.disable {
    pointer-events: none;
}

.public-article > .fa-spinner-third {
    animation-name: spin_article_public_button;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.tabs {
    display: flex;
    width: 100%;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    background: #ededed;
    border: 1px solid #cecece;
    margin: 20px 0 0 0;

    li {
        display: block;
        a {
            display: flex;
            font-size: 14px;
            padding: 20px;
            align-items: center;
            text-decoration: none;
            margin-bottom: -2px;
            &:hover {
                background: darken(#ededed, 10);
            }
            .count {
                display: block;
                width: 20px;
                height: 20px;
                background: red;
                color: #ffffff;
                border-radius: 50%;
                text-align: center;
                margin-left: 5px;
                line-height: 20px;
            }
        }
        a.active {
            background: darken(#ededed, 10);
            border-bottom: 2px solid darken($theme-color, 20);
        }
    }
}

.d-none {
    display: none;
}

@keyframes spin_article_public_button {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
