/* --------------------------- Global ---------------------------- */
* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

.error {
    position: fixed;
    top: -70px;
    opacity: 0;
    left: 0;
    right: 0;
    transition-property: top, opacity;
    transition: 0.5s;
}

.error .error-msg {
    background-color: #dc3545;
    margin: 0 auto;
    padding: 10px 20px;
    color: #fff;
    width: fit-content;
    border-radius: 10px;
}

.success {
    position: fixed;
    top: -70px;
    opacity: 0;
    left: 0;
    right: 0;
    transition-property: top, opacity;
    transition: 0.5s;
}

.success .success-msg {
    background-color: #28a745;
    margin: 0 auto;
    padding: 10px 20px;
    color: #fff;
    width: fit-content;
    border-radius: 10px;
}

.error.active,
.success.active {
    top: 40px;
    opacity: 1;
}

/* --------------------- Custom error page ----------------------- */
.error-page {
    padding-top: 20px;
}

.error-page img {
    width: 100%;
    margin: 0 auto;
    height: 80vh;
    object-fit: contain;
}

/* --------------------------- Login ---------------------------- */
.login {
    padding-top: 20px;
}

.login .btn-color {
    background-color: #0e1c36;
    color: #fff;
}

.login>div {
    padding: 15px;
}

.login .profile-image-pic {
    height: 200px;
    width: 200px;
    object-fit: cover;
}

/* -------------------------- Homepage --------------------------- */
.homepage {
    padding-top: 20px;
}

.homepage .post {
    margin-bottom: 20px;
}

.homepage .post .time {
    text-align: left;
}

.homepage .post .card-title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* ------------------------- Dashbaord --------------------------- */
.dashboard {
    padding-top: 20px;
}

.dashboard .card {
    margin-bottom: 20px;
}

.dashboard h4 {
    margin-bottom: 20px;
}

.dashboard .table th.fit,
.dashboard .table td.fit {
    white-space: nowrap;
    width: 1%;
}

.admin-nav-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
}