/** Name: structures.css
Author: Mennonimo
Date: 17/07
Description: Parents e containeres pais do site comandando o fluxo de layout
**/


/* ---- Layouts ---- */


/* **ULTRAPASSADO**
  .sheet-title {
  font-family: var(--font-d);
  color: var(--soul);
  font-size: 18px;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid var(--soul);
  text-shadow: 2px 2px 0 #000;
} */

.page-body {
    display: flex;
    height: 750px;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.col {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
}

.titulos-equips {
    position: absolute;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 30px;
    top: -15px;
    bottom: 0;
    justify-content: space-between;
    align-items: center;
}

article {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.color-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 25px 14px 0px 14px;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
}

.color-lines span {
    display: block;
    width: 100%;
    height: 60px;
    margin-bottom: 8px;
}

.personagem {
    display: flex;
    flex-direction: column;
    height: 80%;
    justify-content: space-evenly;
    align-self: center;
}

.panel-box {
    background: var(--panel2);
    padding: 16px 14px 14px;
    position: relative;
    margin-top: 14px;
}

.panel-perices {
    background: var(--panel2);
    position: relative;
    padding: 18px;
}

.panel-box:first-child {
    margin-top: 0;
}

.panel-title {
    position: absolute;
    display: flex;
    background: var(--panel);
    border: 2px solid var(--border);
    padding: 2px 10px;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-d);
}

.panel-title-equips {
    width: fit-content;
    height: fit-content;
    position: relative;
    background: var(--panel);
    border: 2px solid var(--border);
    padding: 2px 10px;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-d);
}

.panel-title .ic {
    color: var(--soul);
}

.panel-title-equips .ic {
    color: var(--soul);
}

.perfil {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-title {
    aspect-ratio: 1.1;
    width: 25px;
}

/* ---- Portrait ---- */

.portrait-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.portrait {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid var(--border);
    background: radial-gradient(circle at 50% 50%, var(--soul-glow), transparent 70%), #050610;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.soul-spark {
    width: 55%;
    height: 55%;
    fill: var(--soul);
    filter: drop-shadow(0 0 10px var(--soul-glow));
}

.hint {
    font-size: 10px;
    color: var(--text-dim);
    text-align: center;
    padding: 4px;
}


/* ---- Fields ---- */

label.f {
    display: block;
    color: var(--text-dim);
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 30px;
}

.campo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

input[type=text] {
    background: rgb(103, 112, 119);
    border: transparent solid 3px;
    color: #fff;
    font-family: var(--font-b);
    font-size: 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

input[type=text]:hover {
    border: #fff solid 3px;
}

input[type=text]::placeholder {
    color: #ddd;
}

#charName {
    position: absolute;
    top: 6%;
    background-color: #24242a;
    border: transparent solid 2px;
    text-align: center;
    z-index: 2;
    transition: all 0.3s ease;
}

#charName:hover {
    border: #fff solid 2px;
    transform: scale(1.1);
}

input[type=number],
textarea {
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 16px;
    padding: 4px 6px;
    width: 100%;
}

select {
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 20px;
    padding: 4px 6px;
    width: fit-content;
}

input[type=number] {
    width: 52px;
}

input:focus,
textarea:focus,
select:focus {
    outline: 1px solid var(--soul);
}

textarea {
    resize: vertical;
    min-height: 56px;
}

.tiny {
    width: 48px !important;
}

select option {
    background: #1a1230;
    color: #fff;
}