/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2025 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 
 =========================================================
 
*/
/* GUILD PROFILES */
.profiles_guild_card {
	width: 100%;
	background: #000000 url('../img/profiles/guild.jpg') no-repeat;
	background-size: cover;
	overflow: auto;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	border: 1px solid #333;
	-moz-box-shadow: 0 0 10px #555;
	-webkit-box-shadow: 0 0 10px #555;
	box-shadow: 0 0 10px #555;
	padding: 40px;
	color: #ffffff;
	text-shadow: 1px 1px 1px #000;
}
	.profiles_guild_card .guild_logo img {
		-moz-box-shadow: 0 0 10px #000;
		-webkit-box-shadow: 0 0 10px #000;
		box-shadow: 0 0 10px #000;
	}
	.profiles_guild_card .guild_name {
		font-family: 'Cinzel', serif;
		font-size: 24px;
		color: #ffffff;
		font-weight: bold;
	}
	.profiles_guild_card table {
		table-layout: fixed;
	}
	.profiles_guild_card hr {
		    border-top: 1px solid #333;
			margin-top: 30px;
			margin-bottom: 30px;
	}
	.profiles_guild_card .guild_members {
		font-family: 'Cinzel', serif;
		font-size: 24px;
		color: #ffffff;
		font-weight: bold;
	}
	.profiles_guild_card .guild_members_list {
		margin-top: 30px;
	}
	.profiles_guild_card .guild_members_table_section {
		padding-left: 25px;
		padding-right: 25px;
	}
	.profiles_guild_card .guild_members_table_wrap {
		margin-top: 24px;
		overflow-x: auto;
	}
	.profiles_guild_card .guild_members_table {
		width: 100%;
		min-width: 720px;
		border-collapse: collapse;
		background: rgba(0, 0, 0, 0.28);
		border: 1px solid rgba(255, 255, 255, 0.08);
		table-layout: fixed;
	}
	.profiles_guild_card .guild_members_table th,
	.profiles_guild_card .guild_members_table td {
		padding: 10px 12px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		text-align: center;
		vertical-align: middle;
	}
	.profiles_guild_card .guild_members_table th {
		color: #ffca28;
		font-size: 11px;
		font-weight: bold;
		text-transform: uppercase;
		background: rgba(0, 0, 0, 0.24);
	}
	.profiles_guild_card .guild_members_table td {
		color: #ffffff;
		font-size: 12px;
	}
	.profiles_guild_card .guild_members_table tbody tr:hover {
		background: rgba(255, 202, 40, 0.08);
	}
	.profiles_guild_card .guild_members_table .guild_member_num {
		width: 54px;
	}
	.profiles_guild_card .guild_members_table .guild_member_name {
		width: 24%;
		text-align: left;
	}
	.profiles_guild_card .guild_members_table .guild_member_class {
		width: 74px;
	}
	.profiles_guild_card .guild_members_table .rankings-class-image {
		width: 24px;
		height: 24px;
		object-fit: contain;
	}
	.profiles_guild_card .guild_members_empty {
		color: #bbbbbb;
		font-style: italic;
	}

/* PLAYER PROFILES */
.profiles_player_card {
    width: 100%;
    display: flex; /* We use flex instead of float */
    flex-wrap: wrap;
    padding: 25px;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    align-items: center;
}

/* Grouping backgrounds for code purity */
.profiles_player_card { background-position: center !important; background-size: cover !important; }

	.DW.profiles_player_card, .SM.profiles_player_card, .GM.profiles_player_card, .SW.profiles_player_card, .DSW.profiles_player_card { background: url('../img/profiles/wiz.jpg') no-repeat; background-size: cover; }
	.DK.profiles_player_card, .BK.profiles_player_card, .BM.profiles_player_card, .DGK.profiles_player_card, .IGK.profiles_player_card { background: url('../img/profiles/knight.jpg') no-repeat; background-size: cover; }
	.ELF.profiles_player_card, .ME.profiles_player_card, .HE.profiles_player_card, .NE.profiles_player_card, .RYE.profiles_player_card { background: url('../img/profiles/elf.jpg') no-repeat; background-size: cover; }
	.MG.profiles_player_card, .DM.profiles_player_card, .MK.profiles_player_card, .DPK.profiles_player_card { background: url('../img/profiles/mg.jpg') no-repeat; background-size: cover; }
	.DL.profiles_player_card, .LE.profiles_player_card, .EL.profiles_player_card, .FCE.profiles_player_card { background: url('../img/profiles/dl.jpg') no-repeat; background-size: cover; }
	.SUM.profiles_player_card, .BS.profiles_player_card, .DSM.profiles_player_card, .DS.profiles_player_card, .ESUM.profiles_player_card { background: url('../img/profiles/sum.jpg') no-repeat; background-size: cover; }
	.RF.profiles_player_card, .FM.profiles_player_card, .FB.profiles_player_card, .BF.profiles_player_card { background: url('../img/profiles/rf.jpg') no-repeat; background-size: cover; }
	.GL.profiles_player_card, .ML.profiles_player_card, .SL.profiles_player_card, .AL.profiles_player_card { background: url('../img/profiles/gl.jpg') no-repeat; background-size: cover; }
	.RW.profiles_player_card, .RSM.profiles_player_card, .GRM.profiles_player_card, .MRW.profiles_player_card, .IRW.profiles_player_card { background: url('../img/profiles/rw.jpg') no-repeat; background-size: cover; }
	.SLR.profiles_player_card, .SLRR.profiles_player_card, .MSLR.profiles_player_card, .SLTR.profiles_player_card, .RS.profiles_player_card { background: url('../img/profiles/sl.jpg') no-repeat; background-size: cover; }
	.GC.profiles_player_card, .GB.profiles_player_card, .MGB.profiles_player_card, .HGC.profiles_player_card, .MGC.profiles_player_card { background: url('../img/profiles/gc.jpg') no-repeat; background-size: cover; }
	.LIW.profiles_player_card, .LIM.profiles_player_card, .SHW.profiles_player_card, .LUW.profiles_player_card, .GLW.profiles_player_card { background: url('../img/profiles/liw.jpg') no-repeat; background-size: cover; }
	.LEM.profiles_player_card, .WAM.profiles_player_card, .ARM.profiles_player_card, .MYM.profiles_player_card, .BAM.profiles_player_card { background: url('../img/profiles/lem.jpg') no-repeat; background-size: cover; }
	.IK.profiles_player_card, .MIK.profiles_player_card, .IM.profiles_player_card, .MYK.profiles_player_card, .PPK.profiles_player_card { background: url('../img/profiles/ik.jpg') no-repeat; background-size: cover; }
	.ALC.profiles_player_card, .ALMN.profiles_player_card, .ALMTR.profiles_player_card, .ALFC.profiles_player_card, .CRE.profiles_player_card { background: url('../img/profiles/alc.jpg') no-repeat; background-size: cover; }

.profiles_player_content {
    margin-left: auto; /* Shifts the content to the right */
    width: 50%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px); /* Frosted glass effect */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.profiles_player_table .cname {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 26px;
    color: #ffca28; /* Golden accent for the name */
    text-shadow: 2px 2px 2px #000;
}

.profiles_player_table .cclass {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    color: #ccc;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Status indicators */
.profiles_player_table .isonline, .profiles_player_table .isoffline {
    font-weight: bold;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.profiles_player_table .isonline { color: #2ecc71; background: rgba(46, 204, 113, 0.1); }
.profiles_player_table .isoffline { color: #e74c3c; background: rgba(231, 76, 60, 0.1); }

.profiles_player_table_info {
    width: 100%;
    margin-top: 15px;
}

.profiles_player_table_info tr td {
    padding: 5px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.profiles_player_table_info tr td:first-child {
    text-align: right;
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
    width: 40%;
}

.profiles_player_table_info tr td:last-child {
    font-weight: bold;
    color: #fff;
}

/* Adaptability for mobile phones */
@media (max-width: 768px) {
    .profiles_player_content {
        width: 100%;
        margin-left: 0;
    }
}

/* The history of the kilos */
.pk-history-section {
    margin-top: 50px;
    padding: 20px;
    background: #020914; /* Dark blue background as shown in the screenshot */
    border: 1px solid #1a2535;
}

.pk-history-title-main {
    text-align: center;
    color: #00e0ff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}

.webengine-table {
    width: 100%;
    border-collapse: collapse;
    background: #050d1a !important;
}

.webengine-table thead th {
    background: #0a1425;
    color: #fff;
    border: 1px solid #1a2535;
    padding: 12px;
    text-align: center;
}

.webengine-table tbody td {
    border: 1px solid #1a2535;
    padding: 10px;
    color: #ccc;
    text-align: center;
    font-size: 13px;
}

/* Effect when hovering over a line */
.webengine-table tbody tr:hover {
    background: #0d1a30;
}

.char-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pk-icon {
    width: 18px;
    height: 18px;
}

/* Styles for DataTables (if enabled JS) */
.dataTables_wrapper .dataTables_length, 
.dataTables_wrapper .dataTables_filter {
    color: #fff !important;
    margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_filter input {
    background: #0a1425;
    border: 1px solid #1a2535;
    color: #fff;
    padding: 5px;
}

/* Player equipment */
.mu-profile-equipment {
    margin-top: 20px;
    padding: 20px;
    background: #f1f1f1;
    border: 1px solid #e3e3e3;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.mu-profile-equipment h4 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    color: #3f6588;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
    border-bottom: 1px solid #e3e3e3;
}

.mu-profile-equipment-board {
    --slot: 86px;
    --small-slot: 38px;
    --col-1: 0px;
    --col-2: 103px;
    --col-3: 160px;
    --col-4: 263px;
    --col-5: 320px;
    --row-1: 0px;
    --row-2: 103px;
    --row-3: 206px;
    position: relative;
    width: 406px;
    height: 292px;
    max-width: 406px;
    margin: 0 auto;
}

.mu-profile-equipment-board.has-extra-bottom {
    height: 356px;
}

.mu-profile-equip-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: var(--slot);
    height: var(--slot);
    padding: 4px;
    background: #fafafa;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

.mu-profile-equip-slot.has-item {
    background: #ffffff;
    border-color: #d8d8d8;
    cursor: default;
}

.mu-profile-equip-slot.has-item[data-item-tooltip] {
    cursor: pointer;
}

.mu-profile-equip-slot.is-empty {
    background: #f1f1f1;
}

.mu-profile-equipment-board.is-hidden .mu-profile-equip-slot {
    background: #f1f1f1;
}

.mu-profile-equipment-hidden {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    padding: 8px 16px;
    color: #3f6588;
    background: rgba(241, 241, 241, 0.94);
    border: 1px solid #e3e3e3;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.mu-profile-equip-slot.has-item[data-item-tooltip]:hover,
.mu-profile-equip-slot.has-item[data-item-tooltip]:focus {
    border-color: #3f6588;
    box-shadow: 0 0 0 1px rgba(63, 101, 136, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.mu-profile-equip-slot.mu-small-slot {
    width: var(--small-slot);
    height: var(--small-slot);
    padding: 2px;
}

.mu-profile-equip-extra-slot {
    width: var(--small-slot);
    height: var(--small-slot);
    padding: 2px;
}

.mu-profile-equip-slot img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mu-slot-pet { left: var(--col-1); top: var(--row-1); }
.mu-slot-pendant { left: var(--col-2); top: 24px; width: var(--small-slot); height: var(--small-slot); padding: 2px; }
.mu-slot-helm { left: var(--col-3); top: var(--row-1); }
.mu-slot-wings { left: var(--col-5); top: var(--row-1); }
.mu-slot-weapon { left: var(--col-1); top: var(--row-2); }
.mu-slot-ring1 { left: var(--col-2); top: 127px; width: var(--small-slot); height: var(--small-slot); padding: 2px; }
.mu-slot-armor { left: var(--col-3); top: var(--row-2); }
.mu-slot-ring2 { left: var(--col-4); top: 127px; width: var(--small-slot); height: var(--small-slot); padding: 2px; }
.mu-slot-shield { left: var(--col-5); top: var(--row-2); }
.mu-slot-gloves { left: var(--col-1); top: var(--row-3); }
.mu-slot-pants { left: var(--col-3); top: var(--row-3); }
.mu-slot-boots { left: var(--col-5); top: var(--row-3); }
.mu-slot-pentagram { left: var(--col-4); top: 24px; }
.mu-slot-earring-left { left: var(--col-2); top: 79px; }
.mu-slot-earring-right { left: var(--col-4); top: 79px; }
.mu-slot-muun-main { left: var(--col-2); top: 182px; }
.mu-slot-muun-sub { left: var(--col-4); top: 182px; }
.mu-slot-artifact-one { left: var(--col-2); top: var(--row-3); }
.mu-slot-artifact-two { left: var(--col-4); top: var(--row-3); }
.mu-slot-artifact-three { left: 129px; top: 310px; }
.mu-slot-artifact-four { left: 239px; top: 310px; }
.mu-slot-artifact-full { left: 184px; top: 310px; }

.mu-item-tooltip {
    display: none;
    position: absolute;
    z-index: 99999;
    max-width: 360px;
    min-width: 220px;
    padding: 11px 13px;
    color: #fff;
    text-align: center;
    background: #05070c;
    border: 1px solid #333f4b;
    border-radius: 4px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    font-size: 12px;
    line-height: 1.35;
}

.mu-item-tooltip img {
    max-width: 90px;
    max-height: 90px;
    margin: 4px auto;
}

@media (max-width: 480px) {
    .mu-profile-equipment {
        padding: 16px 10px;
        overflow-x: auto;
    }

    .mu-profile-equipment-board {
        transform: scale(0.68);
        transform-origin: top center;
        margin-bottom: -94px;
    }

    .mu-profile-equipment-board.has-extra-bottom {
        margin-bottom: -115px;
    }
}
