* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    font-family: Georgia, "Times New Roman", serif;
    color: #f4e7c6;
    background: #0e0b08;
    overflow-x: hidden;
}

body {
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.parallax-scene {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 220, 120, 0.16), transparent 20%),
        radial-gradient(circle at 80% 30%, rgba(255, 170, 80, 0.10), transparent 20%),
        linear-gradient(to bottom, rgba(10, 8, 6, 0.30), rgba(8, 6, 5, 0.62)),
        url("../img/bg-main.jpg") center center / cover no-repeat;
}

.parallax-layer {
    position: absolute;
    inset: -5%;
    transition: transform 0.12s linear;
    will-change: transform;
    pointer-events: none;
}

.layer-back {
    background:
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.06), transparent 18%),
        radial-gradient(circle at 72% 44%, rgba(255, 230, 160, 0.04), transparent 20%);
    filter: blur(2px);
}

.layer-mid {
    background:
        radial-gradient(circle at 8% 75%, rgba(176, 124, 52, 0.18), transparent 14%),
        radial-gradient(circle at 88% 22%, rgba(140, 202, 122, 0.12), transparent 12%),
        radial-gradient(circle at 70% 78%, rgba(255, 180, 94, 0.08), transparent 14%);
    filter: blur(8px);
}

.layer-front {
    background:
        radial-gradient(circle at 10% 20%, rgba(149, 206, 82, 0.15), transparent 8%),
        radial-gradient(circle at 90% 18%, rgba(255, 160, 190, 0.16), transparent 8%),
        radial-gradient(circle at 83% 70%, rgba(162, 214, 92, 0.12), transparent 7%),
        radial-gradient(circle at 15% 78%, rgba(255, 180, 215, 0.10), transparent 7%);
    filter: blur(12px);
}

.parallax-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 214, 120, 0.25) 0 1px, transparent 1px),
        radial-gradient(circle, rgba(165, 230, 110, 0.22) 0 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 182, 193, 0.20) 0 1px, transparent 1px);
    background-size: 180px 180px, 240px 240px, 220px 220px;
    animation: floatParticles 30s linear infinite;
    opacity: 0.75;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-18px) translateX(10px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

.site-shell {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100% - 40px));
    margin: 24px auto;
    backdrop-filter: blur(1px);
}

.topbar {
    width: 100%;
    border: 1px solid rgba(214, 170, 77, 0.55);
    background: linear-gradient(to bottom, rgba(35, 23, 14, 0.82), rgba(19, 12, 7, 0.84));
    box-shadow:
        0 0 0 1px rgba(255, 218, 135, 0.12) inset,
        0 12px 35px rgba(0, 0, 0, 0.42);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: visible;
}

.topbar-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 24px;
}

.logo-wrap {
    flex: 0 0 auto;
}

.site-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(255, 188, 84, 0.22));
}

.main-nav {
    flex: 1 1 auto;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 15px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #e8cf8d;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: 0.25s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: #fff2bf;
    border-color: rgba(227, 182, 91, 0.55);
    background: linear-gradient(to bottom, rgba(135, 88, 27, 0.22), rgba(74, 45, 13, 0.18));
    box-shadow: 0 0 18px rgba(255, 182, 71, 0.14);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(216, 170, 84, 0.55);
    background: linear-gradient(to bottom, rgba(34, 20, 11, 0.96), rgba(19, 10, 6, 0.98));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.40);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.22s ease;
    z-index: 50;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #ead6aa;
    transition: 0.22s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    background: rgba(201, 140, 47, 0.14);
    color: #fff0b4;
}

.content-wrap {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
}

.sidebar,
.main-content {
    min-width: 0;
}

.panel {
    position: relative;
    border: 1px solid rgba(202, 161, 73, 0.48);
    background:
        linear-gradient(to bottom, rgba(40, 25, 15, 0.90), rgba(21, 13, 8, 0.92));
    box-shadow:
        0 0 0 1px rgba(255, 224, 156, 0.08) inset,
        0 14px 30px rgba(0, 0, 0, 0.34);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.panel-title {
    padding: 16px 18px;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f4d37d;
    background:
        linear-gradient(to right, rgba(97, 52, 16, 0.85), rgba(32, 17, 9, 0.85));
    border-bottom: 1px solid rgba(210, 168, 84, 0.25);
    text-shadow: 0 0 8px rgba(255, 212, 119, 0.25);
}

.panel-body {
    padding: 18px;
}

.content-panel .panel-body {
    background:
        linear-gradient(to bottom, rgba(250, 241, 223, 0.95), rgba(236, 224, 201, 0.94));
    color: #332416;
}

.hero-box {
    margin-bottom: 20px;
}

.hero-video {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(202, 161, 73, 0.48);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
    background: linear-gradient(to bottom, rgba(54, 16, 10, 0.90), rgba(20, 8, 7, 0.96));
}

.video-placeholder {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background:
        radial-gradient(circle at center, rgba(180, 12, 12, 0.40), transparent 30%),
        linear-gradient(to bottom, rgba(76, 0, 0, 0.60), rgba(18, 0, 0, 0.86));
}

.video-play {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 2px solid rgba(255, 213, 132, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #ffe9ad;
    box-shadow: 0 0 24px rgba(255, 177, 71, 0.18);
    margin-bottom: 16px;
}

.video-text {
    font-size: 22px;
    color: #ffe2aa;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.login-form,
.register-form {
    display: grid;
    gap: 12px;
}

.login-form input,
.register-form input {
    width: 100%;
    border: 1px solid rgba(193, 157, 90, 0.38);
    background: rgba(17, 11, 7, 0.72);
    color: #f4ead0;
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
}

.login-form input:focus,
.register-form input:focus {
    border-color: rgba(241, 202, 116, 0.70);
    box-shadow: 0 0 14px rgba(255, 193, 78, 0.18);
}

.login-form button,
.gold-button,
.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid rgba(219, 172, 82, 0.80);
    border-radius: 12px;
    color: #fff4cb;
    background: linear-gradient(to bottom, #c98a1f, #8b5614);
    box-shadow:
        0 0 0 1px rgba(255, 233, 166, 0.20) inset,
        0 8px 18px rgba(0, 0, 0, 0.25);
    font-weight: bold;
    cursor: pointer;
    transition: 0.22s ease;
}

.login-form button:hover,
.gold-button:hover,
.discord-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
        0 0 0 1px rgba(255, 233, 166, 0.24) inset,
        0 10px 24px rgba(0, 0, 0, 0.30);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-links a {
    color: #f0dca8;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(214, 169, 85, 0.20);
    background: rgba(255, 194, 94, 0.04);
    transition: 0.22s ease;
}

.quick-links a:hover {
    color: #fff0c1;
    background: rgba(255, 194, 94, 0.10);
}

.info-line {
    color: #ead9af;
    margin-bottom: 8px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #ead9af;
}

.status-online {
    color: #8eff7d;
    font-weight: bold;
}

.intro-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: center;
}

.intro-image img {
    width: 100%;
    border-radius: 12px;
}

.intro-text h2 {
    color: #4b3018;
    margin-bottom: 12px;
    font-size: 30px;
}

.intro-text p {
    line-height: 1.7;
    margin-bottom: 14px;
    color: #4e3a27;
}

.news-preview-list {
    display: grid;
    gap: 18px;
}

.news-preview-item,
.news-full-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(171, 132, 73, 0.18);
    border-radius: 14px;
    background: rgba(255, 248, 236, 0.52);
}

.news-preview-thumb img,
.news-full-image img {
    width: 100%;
    border-radius: 12px;
}

.news-preview-date {
    display: inline-block;
    color: #94672c;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.news-preview-content h3,
.news-full-content h2 {
    color: #342012;
    margin-bottom: 10px;
}

.news-preview-content p,
.news-full-content p {
    color: #513c29;
    line-height: 1.7;
    margin-bottom: 12px;
}

.gold-link {
    color: #a86b14;
    font-weight: bold;
}

.gold-link:hover {
    color: #d38a1e;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 12px;
}

.ranking-table thead th {
    text-align: left;
    padding: 14px 12px;
    background: linear-gradient(to bottom, #6d451a, #40240d);
    color: #f7ddb0;
    font-size: 15px;
    letter-spacing: 0.6px;
}

.ranking-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(117, 82, 42, 0.14);
    color: #4c3522;
    background: rgba(255, 248, 236, 0.55);
}

.ranking-table tbody tr:hover td {
    background: rgba(255, 232, 181, 0.55);
}

.centered-panel-body {
    text-align: center;
}

.centered-panel-body h2 {
    color: #392515;
    font-size: 32px;
    margin-bottom: 14px;
}

.centered-panel-body p {
    color: #513c29;
    line-height: 1.7;
    margin-bottom: 24px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.download-card {
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(174, 131, 70, 0.18);
    background: rgba(255, 247, 232, 0.58);
}

.download-card h3 {
    color: #3d2816;
    margin-bottom: 10px;
}

.download-card p {
    color: #5c4735;
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    text-align: left;
}

.form-row label {
    color: #4d3622;
    font-weight: bold;
}

.button-submit {
    width: 100%;
}

.site-footer {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(202, 161, 73, 0.48);
    background: linear-gradient(to bottom, rgba(35, 23, 14, 0.82), rgba(19, 12, 7, 0.84));
    box-shadow:
        0 0 0 1px rgba(255, 224, 156, 0.08) inset,
        0 12px 35px rgba(0, 0, 0, 0.42);
}

.footer-inner {
    min-height: 72px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #dcc28c;
}

@media (max-width: 1200px) {
    .content-wrap {
        grid-template-columns: 1fr;
    }

    .left-sidebar,
    .right-sidebar {
        order: 2;
    }

    .main-content {
        order: 1;
    }
}

@media (max-width: 900px) {
    .topbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .intro-grid,
    .news-preview-item,
    .news-full-item,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .site-shell {
        width: min(100% - 20px, 1480px);
        margin: 10px auto;
    }

    .panel-title {
        font-size: 17px;
    }

    .video-placeholder {
        min-height: 240px;
    }

    .video-text {
        font-size: 18px;
        text-align: center;
        padding: 0 20px;
    }
}

.hero-box {
    width:100%;
    max-width:100%;
    margin-bottom:20px;
}

.hero-video {
    position:relative;
    width:100%;
    height:0;
    padding-bottom:56.25%;
    border-radius:8px;
    overflow:hidden;
    border:2px solid #2a2a2a;
    box-shadow:0 0 20px rgba(231,193,120,0.15);
}

.video-wrapper iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.hero-video::before {

    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;

    border-radius:8px;

    box-shadow:
        inset 0 0 40px rgba(0,0,0,0.7),
        0 0 25px rgba(231,193,120,0.2);

    pointer-events:none;
}

.hero-video:hover {
    transform:scale(1.01);
    transition:0.25s;
}
.site-logo{
filter: brightness(1.2) contrast(1.2);
}

.donation-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

/* ============================= */
/* DONATION CARDS */
/* ============================= */

.donation-card{

background:rgba(20,10,0,0.65);

border:1px solid rgba(231,193,120,0.35);

border-radius:12px;

padding:22px;

text-align:center;

box-shadow:
0 0 20px rgba(231,193,120,0.18),
inset 0 0 10px rgba(231,193,120,0.05);

transition:0.25s;

position:relative;

color:#f2e2b8;
}

.donation-card:hover{

transform:scale(1.04);

box-shadow:
0 0 25px rgba(231,193,120,0.35),
inset 0 0 15px rgba(231,193,120,0.08);

background:rgba(30,15,0,0.75);
}

/* TITLES */

.donation-title{

color:#e7c178;

font-size:1.2rem;

margin-bottom:10px;

text-shadow:0 0 6px rgba(231,193,120,0.4);
}

/* COINS */

.donation-coins{

font-size:1.5rem;

color:#e7c178;

margin:10px 0;

font-weight:bold;
}

/* PRICE */

.donation-price{

font-size:1.3rem;

color:#fff;

margin-bottom:5px;
}

/* DISCOUNT */

.donation-discount{

color:#00ff9c;

margin-top:8px;

font-weight:bold;
}



/* ============================= */
/* EVENT LIST */
/* ============================= */

.event-list{

display:flex;

flex-direction:column;

gap:20px;
}

/* EVENT CARD */

.event-card{

background:rgba(20,10,0,0.65);

border:1px solid rgba(231,193,120,0.3);

border-radius:12px;

padding:20px;

box-shadow:
0 0 15px rgba(231,193,120,0.12),
inset 0 0 8px rgba(231,193,120,0.05);

transition:0.25s;

color:#e8d9a8;
}

.event-card:hover{

background:rgba(35,18,0,0.75);

box-shadow:
0 0 20px rgba(231,193,120,0.4),
inset 0 0 10px rgba(231,193,120,0.08);
}

/* EVENT TITLE */

.event-card h3{

color:#e7c178;

margin-bottom:8px;

text-shadow:0 0 6px rgba(231,193,120,0.4);
}

/* EVENT TEXT */

.event-card p{

color:#d6caa2;

font-size:0.95rem;

line-height:1.5;
}

/* EVENT TIME */

.event-time{

color:#e7c178;

font-weight:bold;
}



/* ============================= */
/* SPAWN TABLE */
/* ============================= */

#spawn-table{

width:100%;

border-collapse:separate;

border-spacing:0 10px;

margin-top:20px;

font-size:0.95rem;
}

/* TABLE HEADER */

#spawn-table thead th{

background:rgba(60,35,0,0.8);

color:#e7c178;

text-transform:uppercase;

letter-spacing:1px;

padding:14px;

border-bottom:2px solid rgba(231,193,120,0.45);
}

/* ROW */

#spawn-table tbody tr{

background:rgba(20,10,0,0.65);

border:1px solid rgba(231,193,120,0.25);

border-radius:10px;

box-shadow:
0 0 10px rgba(231,193,120,0.15),
inset 0 0 6px rgba(231,193,120,0.05);

transition:all .25s ease;
}

/* HOVER */

#spawn-table tbody tr:hover{

transform:scale(1.02);

background:rgba(35,18,0,0.75);

box-shadow:
0 0 18px rgba(231,193,120,0.35);
}

/* CELLS */

#spawn-table tbody td{

padding:14px;

text-align:center;

color:#e6d6a6;
}

/* MONSTER NAME */

#spawn-table tbody td:first-child{

color:#e7c178;

font-weight:600;

font-size:1rem;
}

/* RESPAWN TIME */

#spawn-table tbody td:last-child{

color:#e7c178;

font-weight:bold;

font-size:1rem;
}

/* ============================= */
/* UCP PANEL */
/* ============================= */

.content-panel {
    width: 100%;
}

.content-panel .panel-body {
    padding: 30px 40px;
}

/* BUTTONS */

.btn {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* STATUS */

.user-status {
    color: #8eff7d;
    font-weight: bold;
}

/* TABLE */

.character-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.character-table thead th {
    background: linear-gradient(to bottom, #6d451a, #40240d);
    color: #f7ddb0;
    padding: 14px;
    font-size: 13px;
    text-transform: uppercase;
}

.character-table tbody td {
    padding: 14px;
    text-align: center;
    background: rgba(255, 248, 236, 0.9);
    color: #332416;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.character-table tbody tr:hover td {
    background: rgba(255, 220, 150, 0.5);
}

/* ICONS */

.character-table img {
    width: 30px;
}

/* EMPTY ROW */

.character-table td[colspan] {
    padding: 20px;
    background: rgba(255, 248, 236, 0.6);
}

/* MODALS */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
}

.modal-content {
    width: 420px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    background: #2a1a0c;
    color: #fff;
}

/* ============================= */
/* LOGIN PANEL */
/* ============================= */

.login-panel {
    border: 1px solid rgba(214,170,77,0.5);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(45,28,16,0.95), rgba(20,12,6,0.98));
    box-shadow:
        0 0 0 1px rgba(255,224,156,0.08) inset,
        0 12px 25px rgba(0,0,0,0.45);
}

/* HEADER */

.login-panel .panel-title {
    padding: 14px 16px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #f4d37d;
    text-transform: uppercase;
    background: linear-gradient(to right, rgba(97,52,16,0.9), rgba(32,17,9,0.9));
    border-bottom: 1px solid rgba(210,168,84,0.25);
}

/* BODY */

.login-panel .panel-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* INPUTS */

.login-panel input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(214,170,77,0.4);
    background: rgba(0,0,0,0.7);
    color: #f4ead0;
    outline: none;
    transition: 0.2s;
}

.login-panel input:focus {
    border-color: #ffd97a;
    box-shadow: 0 0 8px rgba(231,195,92,0.4);
}

/* BUTTON */

.login-panel button {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(219,172,82,0.8);
    background: linear-gradient(to bottom, #c98a1f, #8b5614);
    color: #fff4cb;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    box-shadow:
        0 0 0 1px rgba(255,233,166,0.2) inset,
        0 6px 15px rgba(0,0,0,0.35);
}

.login-panel button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
        0 0 0 1px rgba(255,233,166,0.25) inset,
        0 10px 20px rgba(0,0,0,0.4);
}


/* LOGIN SPACING FIX */

.login-panel .panel-body form {
    display: flex;
    flex-direction: column;
    gap: 12px; /* 🔥 DAS ist der wichtigste Part */
}

/* Inputs etwas größer + angenehmer */

.login-panel input {
    padding: 12px;
    border-radius: 8px;
}

/* Button nicht full width + mehr Luft */

.login-panel button {
    margin-top: 6px;
    width: 100%;
}


/* ============================= */
/* MODALS (UCP STYLE) */
/* ============================= */

.modal {
    display: none; /* ❗ BLEIBT */

    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;

    align-items: center;
    justify-content: center;
}

/* BOX */

.modal-content {
    width: 420px;
    max-width: 90%;

    border-radius: 16px;
    border: 1px solid rgba(214,170,77,0.5);

    background: linear-gradient(to bottom, rgba(45,28,16,0.95), rgba(20,12,6,0.98));

    box-shadow:
        0 0 0 1px rgba(255,224,156,0.08) inset,
        0 20px 40px rgba(0,0,0,0.6);

    padding: 22px;
    position: relative;

    animation: modalFade 0.2s ease;
}

/* TITLE */

.modal-content h2 {
    color: #f4d37d;
    margin-bottom: 15px;
    font-size: 22px;
}

/* CLOSE BUTTON */

.close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

/* FORM */

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* INPUTS / SELECT */

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;

    border: 1px solid rgba(214,170,77,0.4);
    background: rgba(0,0,0,0.7);
    color: #f4ead0;

    outline: none;
    transition: 0.2s;
}

.modal-content input:focus,
.modal-content select:focus {
    border-color: #ffd97a;
    box-shadow: 0 0 8px rgba(231,195,92,0.4);
}

/* BUTTON */

.modal-content button {
    margin-top: 5px;

    padding: 10px;
    border-radius: 8px;

    border: 1px solid rgba(219,172,82,0.8);
    background: linear-gradient(to bottom, #c98a1f, #8b5614);
    color: #fff4cb;

    font-weight: bold;
    cursor: pointer;

    transition: 0.2s;

    box-shadow:
        0 0 0 1px rgba(255,233,166,0.2) inset,
        0 6px 15px rgba(0,0,0,0.35);
}

.modal-content button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

/* ANIMATION */

@keyframes modalFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.smart-form {
    max-width: 420px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(20,14,10,0.85);
    border-radius: 10px;
    color: #E6D2BE;
}

.smart-form h1 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
    color: #D6A85F;
}

.smart-form input[type=text] {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    background: #0F1114;
    border: 1px solid #3A4048;
    color: white;
}

.smart-form .button {
    margin-top: 12px;
    width: 100%;
    padding: 10px;
    background: #7F6030;
    border: none;
    color: white;
    cursor: pointer;
}

.smart-form .button:hover {
    background: #9C7A3A;
}

.isa_error {
    background: #5A2A2A;
    padding: 10px;
    margin-bottom: 10px;
}

.isa_success {
    background: #2A8F6A;
    padding: 10px;
    margin-bottom: 10px;
}