/* =============================================
   ROC THEME - MAIN STYLES
   ============================================= */

/* ===== PAGE HEADER (Banner) ===== */
.page-header {
    height: 250px;
    background: url('https://images.unsplash.com/photo-1519074069444-1ba4fff66d16?w=1200&auto=format&fit=crop') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid #ffa500;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* ===== AUTH CARDS (Login/Register) ===== */
.auth-card {
    background: rgba(20, 22, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 40px;
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffa500, transparent);
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: #08080a;
    border: 1px solid #333;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    border-radius: 3px;
}

.form-input:focus {
    border-color: #ffa500;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
    background: #000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== CHECKBOX GROUP ===== */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #222;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: #ffa500;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    font-size: 0.9rem;
    color: #bbb;
}

.checkbox-group label a {
    color: #ffa500;
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* ===== BUTTONS ===== */
.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #cc8400, #ffa500);
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(2% 0, 100% 0, 100% 80%, 98% 100%, 0 100%);
    transition: 0.3s;
}

.btn-submit:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
}

/* ===== QUICK LINKS ===== */
.quick-link {
    display: block;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #222;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s;
    font-size: 0.95rem;
}

.quick-link:hover {
    background: rgba(255, 165, 0, 0.1);
    border-color: #ffa500;
    color: #fff;
}

.quick-link i {
    color: #ffa500;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* ===== INFO LIST ===== */
.info-list li {
    list-style: none;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.info-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-list li i {
    color: #00ff88;
    margin-top: 3px;
}

/* =============================================
   ROC THEME - ITEM INFO & INVENTORY STYLES
   (Adapted from TRSRO Theme)
   ============================================= */

.bg-equipment {
    background: url(/media/images/equipment/com_bg_tile_d.png) no-repeat !important;
    background-size: 100% 100% !important;
    width: 181px;
    height: 357px;
    position: relative;
    margin: 0 auto;
}

.bg-equipment-avatar {
    background: url(/media/images/equipment/com_bg_tile_d.png) no-repeat !important;
    background-size: 100% 100% !important;
    width: 181px;
    height: 357px;
    position: relative;
    margin: 0 auto;
}

.slots {
    width: 40px;
    height: 40px;
}

.itemslot {
    float: left;
    width: 40px;
    height: 40px;
    margin: 1px;
    padding: 0 !important;
    position: relative;
}

.weapon .itemslot {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 25px;
    background: url(/media/images/equipment/equip_slot_weapon.PNG) no-repeat !important;
    background-size: 56px 56px !important;
}

.shield .itemslot {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 25px;
    background: url(/media/images/equipment/equip_slot_shield.PNG) no-repeat !important;
    background-size: 56px 56px !important;
}

.head .itemslot {
    background: url(/media/images/equipment/equip_slot_helm.PNG) no-repeat !important;
}

.chest .itemslot {
    background: url(/media/images/equipment/equip_slot_mail.PNG) no-repeat !important;
}

.shoulder .itemslot {
    background: url(/media/images/equipment/equip_slot_shoulderguard.PNG) no-repeat !important;
}

.hands .itemslot {
    background: url(/media/images/equipment/equip_slot_gauntlet.PNG) no-repeat !important;
}

.legs .itemslot {
    background: url(/media/images/equipment/equip_slot_pants.PNG) no-repeat !important;
}

.foot .itemslot {
    background: url(/media/images/equipment/equip_slot_boots.PNG) no-repeat !important;
}

.earring .itemslot {
    background: url(/media/images/equipment/equip_slot_earring.PNG) no-repeat !important;
}

.necklace .itemslot {
    background: url(/media/images/equipment/equip_slot_necklace.PNG) no-repeat !important;
}

.lring .itemslot {
    background: url(/media/images/equipment/equip_slot_l_ring.PNG) no-repeat !important;
}

.rring .itemslot {
    background: url(/media/images/equipment/equip_slot_r_ring.PNG) no-repeat !important;
}

.specdress .itemslot {
    background: url(/media/images/equipment/equip_slot_specialdress.PNG) no-repeat !important;
    margin-top: 10px !important;
}

.hat .itemslot {
    background: url(/media/images/equipment/equip_slot_helm.PNG) no-repeat !important;
}

.dress .itemslot {
    background: url(/media/images/equipment/equip_slot_cloth.PNG) no-repeat !important;
}

.attach .itemslot {
    background: url(/media/images/equipment/equip_slot_pandernt.PNG) no-repeat !important;
}

.flag .itemslot {
    background: url(/media/images/equipment/equip_slot_plag.PNG) no-repeat !important;
}

.spec .itemslot {
    background: url(/media/images/equipment/equip_slot_extraneous01.PNG) no-repeat !important;
}

.slots {
    width: 23% !important;
    margin-bottom: 3px !important;
}

/* Float Helpers for Item Slots */
.slots.right {
    float: right;
    clear: right;
    margin-right: 0;
    margin-left: 10%;
}

.slots.left {
    float: left;
    clear: left;
    margin-left: 0;
    margin-right: 10%;
}

.bg-equipment-avatar .slots {
    width: 23% !important;
    margin-bottom: 3px !important;
}

.avatar-margin {
    margin-top: 80px !important;
}

.slots.weapon,
.slots.shield {
    width: 31% !important;
    margin-bottom: 40px !important;
}

.image .itemslot .image {
    margin: 3px;
}

.itemslot .image {
    width: 100%;
    height: 100%;
    float: left;
    padding: 0 !important;
    margin: 3px;
}

.itemslot .imageavatar {
    width: 34px !important;
    height: 34px !important;
    float: left;
    margin: 3px;
    padding: 0 !important;
    margin-top: 84px !important;
}

.slots.left .itemslot .imageavatar {
    margin-left: 2px !important;
}

.weapon .itemslot .image,
.shield .itemslot .image {
    width: 100%;
    height: 100%;
    float: left;
    margin: 3px;
    padding: 0 !important;
    margin-top: 11px !important;
    margin-left: 11px !important;
}

.imageclear {
    margin-top: -2px;
    display: inline-block;
}

/* ITEM INFO TOOLTIP */
.itemInfo {
    color: #fff;
    z-index: 1000;
    position: absolute;
    left: 34px;
    top: 3px;
    width: 180px;
    background: rgba(88, 98, 170, .85);
    border: 2px solid #303d4d;
    padding: 5px;
    display: none;
    line-height: 18px;
    font-size: 10px;
    text-align: left;
}

/* TOOLTIP STYLES */
.ui-tooltip,
.custom-tooltip {
    position: absolute;
    z-index: 9999;
    max-width: 250px;
    padding: 8px !important;
    background: url(/media/images/equipment/com_bg_tile_tl.PNG) no-repeat !important;
    background-size: 100% 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 1px !important;
    pointer-events: none;
    /* Tooltip shouldn't block mouse events */

    /* Font styles directly on tooltip container */
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 11px !important;
    line-height: 15px;
    font-weight: lighter;
    font-style: normal;
    text-shadow: 1px 1px #000;
    color: #fff;
}

.ui-tooltip-content {
    /* Legacy support if needed */
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    font-style: inherit;
    text-shadow: inherit;
    color: inherit;
}

/* BUTTONS & EXTRAS */
.equip-suit-slot {
    background: url(/media/images/equipment/equip_slot_specialdress.PNG) no-repeat !important;
    width: 40px !important;
    height: 40px !important;
    margin-top: 10px;
    float: right;
    clear: right;
}

.bg-equipment-avatar .equip-suit-slot {
    background: url(/media/images/equipment/equip_slot_specialdress.PNG) no-repeat !important;
    margin-top: 96px;
}

.equip-suit-slot .image {
    width: 34px !important;
    height: 34px !important;
    margin-left: 2px !important;
    margin-top: 2px !important;
}

.btn-equip-avatar {
    background: url(/media/images/equipment/equip_slot_avata_button.PNG) no-repeat !important;
    width: 40px !important;
    height: 40px !important;
    margin-top: 10px;
    float: left;
    clear: left;
    border: none;
    outline: 0;
    cursor: pointer;
}

.btn-equip-avatar:hover {
    background: url(/media/images/equipment/equip_slot_avata_button_focus.PNG) no-repeat !important;
}

.btn-equip-avatar:active {
    background: url(/media/images/equipment/equip_slot_avata_button_press.PNG) no-repeat !important;
}

.btn-equip-set {
    background: url(/media/images/equipment/equip_slot_equipment_button.PNG) no-repeat !important;
    width: 40px !important;
    height: 40px !important;
    margin-top: 96px;
    float: left;
    clear: left;
    border: none;
    outline: 0;
    cursor: pointer;
}

.btn-equip-set:hover {
    background: url(/media/images/equipment/equip_slot_equipment_button_focus.PNG) no-repeat !important;
}

.btn-equip-set:active {
    background: url(/media/images/equipment/equip_slot_equipment_button_press.PNG) no-repeat !important;
}

div.image span.plus {
    display: block;
    width: 32px;
    height: 32px;
    background: url(/media/images/itemplus.png) left top;
    animation: play 1.8s steps(32) infinite;
}

@keyframes play {
    100% {
        background-position: -1024px;
    }
}