/**
 * Guild page styles extracted from guild.php
 * Generated by patch-armory-extract-inline-style-blocks-v1.
 * Scope must remain page-specific; do not move generic Armory rules here.
 */

.guild-armory-page {
    max-width: 1180px;
    margin: 0 auto;
}

.guild-armory-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(214, 183, 113, 0.35);
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.guild-armory-hero {
    position: relative;
    min-height: 190px;
    padding: 26px 30px;
    background:
        linear-gradient(90deg, rgba(24, 18, 12, 0.92), rgba(65, 44, 24, 0.78)),
        radial-gradient(circle at top right, rgba(205, 160, 79, 0.38), transparent 42%);
    color: #f5e6c8;
}

.guild-back-search-link {
    position: absolute;
    top: 16px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: #dcefff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: rgba(0, 18, 42, 0.48);
    border: 1px solid rgba(120, 180, 240, 0.42);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
    transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
    z-index: 2;
}

.guild-back-search-link:hover {
    color: #ffd100;
    text-decoration: none;
    background: rgba(0, 28, 62, 0.68);
    border-color: rgba(255, 209, 0, 0.68);
    transform: translateX(-2px);
}

.guild-back-search-link i {
    font-size: 12px;
}

.guild-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.guild-faction-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(80, 170, 255, 0.45));
}

.guild-armory-title {
    margin: 0;
    color: #f4d48a;
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.65);
}

.guild-armory-subtitle {
    margin-top: 8px;
    color: #d8c6a3;
    font-size: 14px;
}

.guild-armory-motd {
    margin-top: 22px;
    max-width: 760px;
    padding: 13px 16px;
    color: #f2e2bf;
    background: rgba(0, 0, 0, 0.22);
    border-left: 3px solid #c99b45;
    border-radius: 4px;
    font-style: italic;
}

.guild-armory-tabs {
    margin: 0;
    padding: 0 18px;
    background: linear-gradient(#f4ead7, #e4d1ae);
    border-bottom: 1px solid rgba(126, 83, 31, 0.35);
}

.guild-armory-tabs > li > a {
    min-height: 44px;
    color: #5e3b18;
    font-weight: 700;
    text-transform: none;
}

.guild-armory-tabs > .uk-active > a {
    color: #2f1b08;
    border-color: #a36a20;
}

.guild-armory-body {
    padding: 22px;
    background: linear-gradient(#f8f1e5, #eadcc5);
}

.guild-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.guild-stat-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(155, 111, 51, 0.25);
    border-radius: 5px;
}

.guild-stat-label {
    color: #7a5a31;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.guild-stat-value {
    margin-top: 7px;
    color: #2f1d0d;
    font-size: 24px;
    font-weight: 800;
}

.guild-panel-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.guild-panel {
    padding: 18px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(155, 111, 51, 0.25);
    border-radius: 5px;
}

.guild-panel-title {
    margin: 0 0 14px 0;
    color: #4d2f12;
    font-family: Georgia, serif;
    font-size: 20px;
}

.guild-class-row,
.guild-online-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(126, 83, 31, 0.16);
}

.guild-class-row:last-child,
.guild-online-row:last-child {
    border-bottom: 0;
}

.guild-class-left,
.guild-online-left {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.guild-icon {
    width: 30px;
    height: 30px;
    border-radius: 3px;
}

.guild-character-link {
    font-weight: 700;
}

.guild-roster-table {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(155, 111, 51, 0.25);
}

.guild-roster-table thead th {
    color: #4d2f12;
    background: rgba(198, 157, 91, 0.24);
    font-weight: 800;
}

.guild-roster-table tbody td {
    vertical-align: middle;
}

.guild-status-online {
    color: #2f8a33;
    font-weight: 700;
}

.guild-status-offline {
    color: #8b6f50;
    font-weight: 700;
}

.guild-placeholder {
    padding: 35px 20px;
    text-align: center;
    color: #6b5437;
    background: rgba(255, 255, 255, 0.6);
    border: 1px dashed rgba(155, 111, 51, 0.4);
    border-radius: 5px;
}

.armory-class-warrior { color: #c79c6e; }
.armory-class-paladin { color: #f58cba; }
.armory-class-hunter { color: #abd473; }
.armory-class-rogue { color: #fff569; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.armory-class-priest { color: #f0f0f0; text-shadow: 0 1px 2px rgba(0,0,0,.55); }
.armory-class-deathknight { color: #c41f3b; }
.armory-class-shaman { color: #0070de; }
.armory-class-mage { color: #69ccf0; }
.armory-class-warlock { color: #9482c9; }
.armory-class-druid { color: #ff7d0a; }
.armory-class-default { color: #5c3d1d; }

@media (max-width: 960px) {
    .guild-stat-grid,
    .guild-panel-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .guild-armory-hero {
        padding: 20px;
    }

    .guild-armory-title {
        font-size: 26px;
    }

    .guild-stat-grid,
    .guild-panel-grid {
        grid-template-columns: 1fr;
    }
}

/* Blue guild armory theme overrides */
.guild-armory-card {
    background: rgba(7, 37, 78, 0.92);
    border: 1px solid rgba(95, 150, 210, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.guild-armory-hero {
    background:
        linear-gradient(90deg, rgba(8, 39, 82, 0.96), rgba(15, 67, 123, 0.86)),
        radial-gradient(circle at top right, rgba(74, 150, 224, 0.28), transparent 45%);
    color: #dcefff;
}

.guild-armory-title {
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.guild-armory-subtitle {
    color: #d6e9ff;
}

.guild-armory-motd {
    color: #eaf5ff;
    background: rgba(0, 14, 31, 0.38);
    border-left-color: #ffd100;
}

.guild-armory-tabs {
    background: linear-gradient(#0f3f78, #082d5b);
    border-bottom: 1px solid rgba(96, 160, 225, 0.35);
}

.guild-armory-tabs > li > a {
    color: #ffd100;
}

.guild-armory-tabs > .uk-active > a {
    color: #ffffff;
    border-color: #ffffff;
}

.guild-armory-body {
    background: linear-gradient(180deg, rgba(8, 38, 78, 0.96), rgba(5, 25, 55, 0.96));
}

.guild-stat-card,
.guild-panel,
.guild-roster-table {
    background: rgba(5, 28, 61, 0.72);
    border: 1px solid rgba(95, 150, 210, 0.28);
}

.guild-stat-label {
    color: #ffd100;
}

.guild-stat-value {
    color: #ffffff;
}

.guild-stat-subvalue {
    margin-top: 6px;
    color: #d6e9ff;
    font-size: 13px;
    line-height: 1.45;
}

.guild-money-gold {
    color: #ffd100;
    font-weight: 800;
}

.guild-money-silver {
    color: #d8d8d8;
    font-weight: 800;
}

.guild-money-copper {
    color: #c87533;
    font-weight: 800;
}

.guild-panel-title {
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.guild-class-row,
.guild-online-row {
    border-bottom: 1px solid rgba(95, 150, 210, 0.18);
}

.guild-class-row {
    display: grid;
    grid-template-columns: 190px 1fr 38px;
    align-items: center;
}

.guild-class-bar-wrap {
    height: 18px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.guild-class-bar {
    height: 100%;
    min-width: 3px;
}

.guild-roster-table thead th {
    color: #ffd100;
    background: rgba(11, 51, 102, 0.78);
}

.guild-roster-table tbody td {
    color: #eaf5ff;
}

.guild-status-online {
    color: #6dff6d;
}

.guild-status-offline {
    color: #9db0c8;
}

.guild-placeholder {
    color: #d6e9ff;
    background: rgba(5, 28, 61, 0.55);
    border-color: rgba(95, 150, 210, 0.35);
}

.guild-bar-warrior { background: #c79c6e; }
.guild-bar-paladin { background: #f58cba; }
.guild-bar-hunter { background: #abd473; }
.guild-bar-rogue { background: #fff569; }
.guild-bar-priest { background: #f0f0f0; }
.guild-bar-deathknight { background: #c41f3b; }
.guild-bar-shaman { background: #0070de; }
.guild-bar-mage { background: #69ccf0; }
.guild-bar-warlock { background: #9482c9; }
.guild-bar-druid { background: #ff7d0a; }
.guild-bar-default { background: #9db0c8; }

@media (max-width: 640px) {
    .guild-class-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


/* Guild tabs active state aligned with player armory tabs */
.guild-armory-tabs > li > a {
    background: transparent;
    border-bottom: 2px solid transparent;
}

.guild-armory-tabs > li > a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.guild-armory-tabs > .uk-active > a {
    color: #ffffff;
    background: rgba(74, 117, 176, 0.42);
    border-bottom: 2px solid #ffffff;
}
