/*
[Custom Stylesheet]

Project     : SociFly - Multipurpose Social Network HTML5 Template
Version     : 1.0
Author      : ThemeLooks
Author URI  : https://themeforest.net/user/themelooks

You can write your custom css styles in this file...

*/

.pos-relative {
    position: relative !important;
}

/* Custom styles for login/register dropdown */
.dropdown-menu {
    padding: 15px;
    min-width: 400px;
}

.dropdown--title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.social-login {
    margin-top: 20px;
}

.mt--10 {
    margin-top: 10px;
}

.mt--20 {
    margin-top: 20px;
}

.mb--10 {
    margin-bottom: 10px;
}

.btn-facebook {
    background-color: #3b5998;
    border-color: #3b5998;
    color: #fff;
}

.btn-facebook:hover,
.btn-facebook:focus {
    color: #fff;
    opacity: 0.9;
}

/* Form validation styles */
.form-error {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.input-error {
    border-color: #d9534f !important;
}

.input-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(217, 83, 79, 0.25) !important;
}

/* Form toggle styles */
.text-center {
    text-align: center;
}

.form-toggle-link {
    color: #1da1f2;
    font-weight: 500;
    transition: color 0.2s ease;
}

.form-toggle-link:hover,
.form-toggle-link:focus {
    color: #0c85d0;
    text-decoration: underline;
}

.user-menu {
    position: relative !important;
    .dropdown-menu.dropdown-menu-right {
        left: auto;
        min-width: 350px;
    }
    .img.img-circle {
        display: inline-block;
        position: relative;
        z-index: 0;
        padding: 2px;
        border-radius: 50%;
    }
    .img::before {
        content: " ";
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        background-color: rgb(29, 161, 242);
        opacity: 0.3;
        z-index: -1;
        border-radius: 50%;
    }
    .img img {
        border-radius: 50%;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .dropdown-menu {
        min-width: 300px;
    }
    .user-menu {
        position: static !important;
        .dropdown-menu.dropdown-menu-right {
            left: 0;
        }
    }
}
