/* ==================================================
   UniDeltaJobs - Account Menu (Production v2)
   ================================================== */

.udj-account{
    position:relative;
    display:inline-block;
}

.udj-account-toggle{
    width:44px;
    height:44px;
    border:0;
    background:transparent;
    border-radius:50%;
    padding:0;
    cursor:pointer;
    overflow:hidden;
}

.udj-account-avatar{
   
    width:44px;
    height:44px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    border:3px solid #fff;
    box-shadow:0 4px 15px rgba(0,0,0,.18);
    transition:.25s;
}

.udj-account-toggle:hover .udj-account-avatar{
    transform:scale(1.05);
}

.udj-account-dropdown{
    position:absolute;
    top:56px;
    right:0;
    width:340px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:all .25s ease;
    z-index:9999;
}

.udj-account.open .udj-account-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.udj-user-box{
    text-align:center;
    padding:30px 24px;
    border-bottom:1px solid #edf0f5;
}

.udj-user-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    object-position:center;
    border:4px solid #fff;
    box-shadow:0 6px 18px rgba(0,0,0,.15);
    margin-bottom:18px;
}

.udj-user-box h4{
    margin:0;
    font-size:28px;
    font-weight:700;
    color:#1d3665;
}

.udj-user-box p{
    margin:14px 0 0;
    color:#6b7280;
    font-size:15px;
}

.udj-role-badge{
    display:inline-block;
    margin-top:14px;
    padding:8px 18px;
    border-radius:999px;
    background:#eef4ff;
    color:#1d4ed8;
    font-size:13px;
    font-weight:600;
}

.udj-account-dropdown ul{
    margin:0;
    padding:12px 0;
    list-style:none;
}

.udj-account-dropdown li{
    list-style:none;
    margin:0;
}

.udj-account-dropdown li+li{
    margin-top:2px;
}

.udj-account-dropdown li a{
    display:flex;
    align-items:center;
    gap:14px;
    padding:15px 24px;
    color:#374151;
    text-decoration:none;
    transition:.25s;
    border-left:4px solid transparent;
}

.udj-account-dropdown li a:hover{
    background:#f3f7ff;
    color:#1d3665;
    border-left-color:#1d3665;
}

.udj-icon{
    width:22px;
    height:22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.udj-icon svg{
    width:20px;
    height:20px;
    display:block;
}

.udj-logout{
    border-top:1px solid #edf0f5;
    margin-top:8px;
    padding-top:8px;
}

.udj-logout a{
    color:#dc2626;
}

.udj-logout a:hover{
    background:#fff2f2;
    color:#b91c1c;
    border-left-color:#dc2626;
}

@media (max-width:767px){
    .udj-account-dropdown{
        width:300px;
        right:-10px;
    }
    .udj-user-box h4{
        font-size:24px;
    }
}

.udj-user-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    object-position:center;
}
/* ==========================================
   MOBILE ACCOUNT MENU
========================================== */

@media (max-width:768px){

    .udj-account-dropdown{

        width:290px;

        right:10px;

        left:auto;

        top:56px;

        max-width:calc(100vw - 20px);

    }

    .udj-user-box{

        padding:24px 20px;

    }

    .udj-user-avatar{

        width:72px;

        height:72px;

    }

    .udj-user-box h4{

        font-size:24px;

    }

    .udj-account-dropdown li a{

        padding:14px 18px;

    }

}

/* Guest Register Button */

.udj-register-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:12px 24px;

    background:#1D3665;
    color:#fff;

    border-radius:12px;

    font-size:16px;
    font-weight:600;

    text-decoration:none;

    transition:.25s;

}

.udj-register-btn:hover{

    background:#152C54;
    color:#fff;

}

.udj-account-guest{
    display:flex;
    align-items:center;
    gap:10px;
}

.udj-login-btn,
.udj-register-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.udj-login-btn{
    background:#fff;
    color:#1D3665;
    border:2px solid #1D3665;
}

.udj-login-btn:hover{
    background:#1D3665;
    color:#fff;
}

.udj-register-btn{
    background:#1D3665;
    color:#fff;
}

.udj-register-btn:hover{
    background:#152C54;
}
/* =========================================================
   UDJ ACCOUNT AVATAR
   Override Elementor Image Styles
========================================================= */

.elementor .udj-account-avatar {
	width: 44px !important;
	height: 44px !important;

	min-width: 44px !important;
	max-width: 44px !important;

	border-radius: 50% !important;

	object-fit: cover !important;
	object-position: center !important;

	border: 3px solid #ffffff !important;

	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18) !important;

	display: block !important;
}


/* =========================================================
   DROPDOWN AVATAR
========================================================= */

.elementor .udj-user-avatar {
	width: 90px !important;
	height: 90px !important;

	min-width: 90px !important;
	max-width: 90px !important;

	border-radius: 50% !important;

	object-fit: cover !important;
	object-position: center !important;

	border: 4px solid #ffffff !important;

	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;

	display: block !important;

	margin: 0 auto 18px auto !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

	.elementor .udj-account-avatar {
		width: 44px !important;
		height: 44px !important;

		min-width: 44px !important;
		max-width: 44px !important;
	}


	.elementor .udj-user-avatar {
		width: 72px !important;
		height: 72px !important;

		min-width: 72px !important;
		max-width: 72px !important;
	}

}