/**
 * WebEngine CMS Profile Overrides (Guild and Player cards)
 * Version: 2.0 (Premium Dark Medieval Fantasy Overhaul)
 * Author: Antigravity AI
 * Copyright (c) 2026, All Rights Reserved
 */

/* ==========================================================================
   GUILD PROFILES CARD Redesign
   ========================================================================== */

.profiles_guild_card {
	width: 100%;
	background: #000 url('../img/profiles/guild.jpg') no-repeat center;
	background-size: cover;
	overflow: auto;
	border-radius: 8px;
	border: 1px solid rgba(197, 160, 89, 0.4);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), inset 0 0 40px rgba(0, 0, 0, 0.8);
	padding: 40px;
	color: #cbd5e1;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
	position: relative;
}

/* Semi-transparent inner atmospheric layer */
.profiles_guild_card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(10, 15, 26, 0.75);
	pointer-events: none;
	z-index: 0;
}

/* Elegant internal gold border frame */
.profiles_guild_card::after {
	content: "";
	position: absolute;
	top: 8px; left: 8px; right: 8px; bottom: 8px;
	border: 1px solid rgba(197, 160, 89, 0.15);
	pointer-events: none;
	border-radius: 6px;
	z-index: 1;
}

.profiles_guild_card > * {
	position: relative;
	z-index: 2;
}

.profiles_guild_card .guild_logo img {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
	border: 2px solid rgba(197, 160, 89, 0.5);
	border-radius: 4px;
	transition: transform 0.3s ease;
}

.profiles_guild_card .guild_logo img:hover {
	transform: scale(1.05);
	border-color: #ffd700;
}

.profiles_guild_card .guild_name {
	font-family: 'Cinzel Decorative', 'Cinzel', serif;
	font-size: 28px;
	color: #ffd700;
	font-weight: bold;
	text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3), 0 2px 4px rgba(0,0,0,0.9);
	letter-spacing: 1px;
}

.profiles_guild_card table {
	table-layout: fixed;
	width: 100%;
}

.profiles_guild_card table tr td {
	padding: 8px 10px;
	font-size: 14px;
}

.profiles_guild_card hr {
	border-top: 1px solid rgba(197, 160, 89, 0.25);
	margin-top: 30px;
	margin-bottom: 30px;
}

.profiles_guild_card .guild_members {
	font-family: 'Cinzel', serif;
	font-size: 22px;
	color: #c5a059;
	font-weight: bold;
	text-shadow: 0 2px 4px rgba(0,0,0,0.8);
	letter-spacing: 1px;
}

.profiles_guild_card .guild_members_list {
	margin-top: 25px;
}

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

.profiles_guild_card .guild_members_list table tr:hover td {
	background: rgba(197, 160, 89, 0.1);
	color: #fff;
}


/* ==========================================================================
   PLAYER PROFILES CARD Redesign
   ========================================================================== */

.profiles_player_card {
	width: 100%;
	overflow: auto;
	border-radius: 8px;
	border: 1px solid rgba(197, 160, 89, 0.4);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), inset 0 0 35px rgba(0,0,0,0.8);
	padding: 25px;
	position: relative;
}

/* Semi-transparent inner atmospheric layer */
.profiles_player_card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(10, 15, 26, 0.65);
	pointer-events: none;
	z-index: 0;
}

/* Internal elegant border frame */
.profiles_player_card::after {
	content: "";
	position: absolute;
	top: 6px; left: 6px; right: 6px; bottom: 6px;
	border: 1px solid rgba(197, 160, 89, 0.15);
	pointer-events: none;
	border-radius: 6px;
	z-index: 1;
}

.profiles_player_card > * {
	position: relative;
	z-index: 2;
}

.DK.profiles_player_card, .BK.profiles_player_card, .BM.profiles_player_card, .DGK.profiles_player_card { background: url('../img/profiles/knight.jpg') no-repeat center; background-size: cover; }
.DW.profiles_player_card, .SM.profiles_player_card, .GM.profiles_player_card, .SW.profiles_player_card { background: url('../img/profiles/wiz.jpg') no-repeat center; background-size: cover; }
.ELF.profiles_player_card, .ME.profiles_player_card, .HE.profiles_player_card, .NE.profiles_player_card { background: url('../img/profiles/elf.jpg') no-repeat center; background-size: cover; }
.SUM.profiles_player_card, .BS.profiles_player_card, .DSM.profiles_player_card, .DS.profiles_player_card { background: url('../img/profiles/sum.jpg') no-repeat center; background-size: cover; }
.DL.profiles_player_card, .LE.profiles_player_card, .EL.profiles_player_card { background: url('../img/profiles/dl.jpg') no-repeat center; background-size: cover; }
.MG.profiles_player_card, .DM.profiles_player_card, .MK.profiles_player_card { background: url('../img/profiles/mg.jpg') no-repeat center; background-size: cover; }
.RF.profiles_player_card, .FM.profiles_player_card, .FB.profiles_player_card { background: url('../img/profiles/rf.jpg') no-repeat center; background-size: cover; }
.GL.profiles_player_card, .ML.profiles_player_card, .SL.profiles_player_card { background: url('../img/profiles/gl.jpg') no-repeat center; background-size: cover; }
.RW.profiles_player_card, .RSM.profiles_player_card, .GRM.profiles_player_card { background: url('../img/profiles/rw.jpg') no-repeat center; background-size: cover; }

.profiles_player_content {
	float: right;
	width: 50%;
	color: #cbd5e1;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.profiles_player_table {
	width: 100%;
}

.profiles_player_table .cname {
	font-family: 'Cinzel Decorative', 'Cinzel', serif;
	text-align: center;
	font-size: 26px;
	color: #ffd700;
	font-weight: bold;
	text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.9);
	letter-spacing: 1px;
}

.profiles_player_table .cclass {
	text-align: center;
	font-size: 12px;
	color: #a0aec0;
	font-family: 'Cinzel', serif;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding-top: 4px;
}

.profiles_player_table .isoffline {
	color: #ef4444;
	text-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
	font-weight: bold;
}

.profiles_player_table .isonline {
	color: #2ecc71;
	text-shadow: 0 0 6px rgba(46, 204, 113, 0.5);
	font-weight: bold;
}

.profiles_player_table_info {
	table-layout: fixed;
	margin-top: 15px;
	background: rgba(10, 15, 26, 0.7);
	border: 1px solid rgba(197, 160, 89, 0.2);
	border-radius: 4px;
	padding: 10px;
}

.profiles_player_table_info tr td {
	padding: 6px 12px;
	font-size: 13px;
	color: #cbd5e1;
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.profiles_player_table_info tr:last-child td {
	border-bottom: none;
}

.profiles_player_table_info tr td:first-child {
	text-align: right;
	color: #c5a059;
	font-family: 'Cinzel', serif;
	font-weight: bold;
	font-size: 12px;
	width: 45%;
}