@import url("bases/common.css?v=20260912-31");

body {
    background-color: white;
    font-family: Arial, sans-serif;
}

.main-nav {
    color: #ffbb00;
    padding: 10px;
    border-color: #ffbb00;
    border-width: 2px;
    border-style: dashed;
    margin-bottom: 0;
}

.sub-nav {
    width: min(590px, calc(50% - 1rem));
    height: 0;
    margin: 0 auto;
    padding: 0 0.25rem 0 0;
    text-align: right;
    line-height: 1;
    box-sizing: border-box;
    position: relative;
    z-index: 110;
}

.sub-nav a {
    position: relative;
    z-index: 111;
    display: inline-block;
    padding: 0;
    margin: 0 0.25rem;
    transform: translateY(-60%);
    color: #C10000;
    background-color: white;
}


.branding {
    width: min(590px, calc(50% - 1rem));
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
}

.branding-logo {
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
    object-fit: contain;
}

.branding-banner {
    width: 16rem;
    height: 4rem;
    flex: 0 0 16rem;
    object-fit: contain;
    object-position: left center;
}

.site-header h1 {
    color: #ffbb00;
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

.page-bar-label,
.metadata {
    margin: 0;
}

a {
    color: #ffbb00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.error {
    border: 1px solid currentColor;
    padding: 0.75rem;
}

@media (max-width: 600px) {
    .profil-statistici dl {
        grid-template-columns: 1fr;
    }
}

.write-message-applet form,
.write-post-applet form,
.write-subject-applet form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.write-message-applet textarea,
.write-post-applet textarea,
.write-subject-applet textarea {
    resize: none;
    box-sizing: border-box;
    width: 100%;
}

.mini-auth-applet form {
    margin: 0 0 0.5rem;
}

.mini-auth-applet button,
.profil-editare-form button {
    color: #C10000;
}

.write-message-applet input[type="checkbox"] {
    width: auto;
}

.mesaj-destinatar-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mesaj-destinatar-selector > span {
    overflow-wrap: anywhere;
}

.write-message-applet input[type="checkbox"] {
    width: auto;
}



.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form input {
    width: 100%;
    box-sizing: border-box;
}

.header-search select,
.header-search button {
    color: #3A5DA5;
}

.mini-auth-applet a {
    color: #C10000;
}

.utilizator-link {
    color: #ffbb00;
}


/* Cosmetic spacing refinements. */
.mesaj-antet {
    gap: 0;
    margin-bottom: 0.75rem;
}

.mesaj-antet h3,
.mesaj-antet p,
.mesaj-participanti p,
.mesaj-detalii p {
    margin: 0;
}

.mesaj-participanti {
    gap: 0;
    margin-bottom: 0;
}

.mesaj-detalii {
    display: block;
    margin: 0;
}

.subiect-previzualizare .postare {
    border: 0;
    padding: 0;
}

/* #35 cosmetic refinements. */
.subiect-op-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.subiect-op-stanga p,
.subiect-op-date p {
    margin: 0;
}

.subiect-op-date {
    text-align: right;
}

.subiect-op-date-creare {
    color: black;
}

.subiect-op-date-actualizare {
    color: #777;
}

.subiect-previzualizare .subiect-op-continut {
    margin: 0 0 0.75rem;
}

.subiect-previzualizare .subiect-etichete {
    margin: 0;
}

.subiect-raspunsuri {
    color: #85E55B;
    margin: 0;
}

.sub-nav {
    font-size: 80%;
}

/* Section sorting and global action buttons. */
button {
    color: #3A5DA5;
}

.buton-rosu,
.etichete-fereastra-titlu button {
    color: #C10000;
}

.section-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.5rem;
}

.section-mini-header h2,
.section-mini-header p {
    margin-top: 0;
}

.section-sort {
    margin: 0;
}

.section-sort select {
    color: #3A5DA5;
}


/* #37 profile presentation. */
.profil {
    border: 0;
    padding: 0;
}

.profil-porecla {
    color: #ffbb00;
    text-align: left;
    margin: 0 0 1rem;
}

.profil-descriere {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
}

.profil-meta {
    margin: 0;
    font-size: 0.85em;
}

.profil-meta p {
    margin: 0;
    color: black;
}

.profil-meta .profil-meta-activitate {
    color: #777;
}

.profil-sectiune {
    margin: 0;
}

.profil-separator {
    border-top: 1px solid currentColor;
    margin: 1rem 0;
}

.profil-sectiune h1 {
    color: #3A5DA5;
    margin: 0 0 1rem;
}

.profil-prieteni .member {
    padding: 0.75rem 0;
}

.profil-prieteni .member:first-of-type {
    padding-top: 0;
}

.profil-prieteni .member:last-of-type {
    border-bottom: 0;
}

.profil-vezi-prieteni {
    margin: 0.75rem 0 0;
}

.profil-vezi-prieteni a {
    color: #ffbb00;
}

.profil-interese .profil-interes {
    position: relative;
    border: 1px dashed #3A5DA5;
    padding: 1.5rem 0.75rem 0.75rem;
    margin: 0 0 1rem;
    background: white;
    overflow-wrap: anywhere;
}

.profil-interese .profil-interes:last-child {
    margin-bottom: 0;
}

.profil-interese .profil-interes h3 {
    position: absolute;
    top: -0.7rem;
    left: 0.75rem;
    z-index: 2;
    margin: 0;
    padding: 0 0.4rem;
    border: 1px dashed #C10000;
    background: white;
    color: #C10000;
}


/* #39 desktop refinements. */
.profil-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.profil-meta-date {
    min-width: 0;
}

.profil-editare-form {
    margin: 0;
    flex: 0 0 auto;
}

.profil-editare-form button {
    color: #C10000;
}

.member-descriere {
    margin: 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-date-creare {
    margin: 0;
    font-size: 0.85em;
    color: black;
}

.member-date-activitate {
    margin: 0;
    font-size: 0.85em;
    color: #777;
}

.sectiuni-previzualizari {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
}

.sectiune-previzualizare {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    column-gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid currentColor;
    min-width: 0;
}

.sectiune-previzualizare-icon {
    width: 1em;
    height: 1em;
    object-fit: contain;
}

.sectiune-previzualizare-cod {
    margin: 0;
    font-size: 1em;
    color: #777;
}

.sectiune-previzualizare-info {
    min-width: 0;
}

.sectiune-previzualizare-nume {
    margin: 0;
}

.sectiune-previzualizare-descriere {
    margin: 0.15rem 0 0;
    color: #777;
}

.index-credite {
    margin: 1.5rem 0 0;
    text-align: right;
}

.index-credite-link {
    color: #ffbb00;
}

.credits-page {
    text-align: center;
}

.credits-page h3 {
    color:#3A5DA5;
    text-align: center;
}

.credits-page p {
    margin-top: 0;
    text-align: center;
}

.sectiune-previzualizare-nume a {
    color: inherit;
}


/* Cuvant applet. */
.cuvant-applet {
    min-width: 0;
}

.cuvant-applet h3 {
    margin-bottom: 0.75rem;
}

.cuvant-board {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    max-width: 240px;
    margin: 0 auto 1rem;
}

.cuvant-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.3rem;
}

.cuvant-cell {
    aspect-ratio: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #999;
    background: white;
    color: black;
    font-weight: bold;
    font-size: 1.15rem;
    line-height: 1;
    text-transform: uppercase;
}

.cuvant-cell-empty {
    border-color: #bbb;
}

.cuvant-cell-gray {
    border-color: #666;
    background: #666;
    color: white;
}

.cuvant-cell-yellow {
    border-color: #c9a900;
    background: #d9bd00;
    color: white;
}

.cuvant-cell-green {
    border-color: #4f9f35;
    background: #63b946;
    color: white;
}

.cuvant-cell-purple {
    border-color: #8b4ca8;
    background: #9b59b6;
    color: white;
}

.cuvant-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cuvant-input {
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
}

.cuvant-mesaj {
    min-height: 1.25em;
    margin-bottom: 0;
    color: #C10000;
}

.cuvant-rezultat {
    margin-bottom: 0;
}

@media (max-width: 800px) {
    .cuvant-board {
        max-width: 240px;
    }
}



/* Cuvant friend results. */
.cuvant-rezultate-link {
    margin-top: 1rem;
    margin-bottom: 0;
}

.cuvant-standalone {
    max-width: 32rem;
    margin: 0 auto;
}

.cuvant-rezultate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.cuvant-rezultat-prieten {
    min-width: 0;
    padding: 0.75rem;
    border: 1px dashed #999;
    background: #fff;
}

.cuvant-rezultat-prieten-nume {
    display: block;
    margin-bottom: 0.6rem;
}

.cuvant-board-rezultat {
    max-width: 150px;
    margin: 0 auto;
    gap: 0.18rem;
}

.cuvant-board-rezultat .cuvant-row {
    gap: 0.18rem;
}

.cuvant-board-rezultat .cuvant-cell {
    border-width: 1px;
}

.cuvant-board-rezultat .cuvant-cell-empty {
    border-color: #bbb;
    background: white;
}


.cuvant-nav-link {
    display: none;
}
