.account-management-wrapper {
    color: #ece4d3;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}
.account-management-wrapper a { color: #e0b84a; text-decoration: none; transition: color 0.2s ease; }
.account-management-wrapper a:hover { color: #f4d97a; }

.am-card {
    background: #15110d;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.16);
    transition: border-color 0.2s ease;
}
.am-card:hover { border-color: rgba(201, 162, 39, 0.35); }

.am-card-header {
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.10) 0%, rgba(21, 17, 13, 0) 100%);
    padding: 15px 25px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.16);
    font-family: "Cinzel", serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ece4d3;
    display: flex; align-items: center; gap: 10px;
    letter-spacing: 0.03em;
}
.am-card-header::before {
    content: ''; width: 4px; height: 18px;
    background: #ab8226; border-radius: 2px;
}

.am-card-body { padding: 25px; }

.am-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.am-table th, .am-table td {
    padding: 12px 15px; text-align: left;
    border-bottom: 1px solid rgba(201, 162, 39, 0.10);
}
.am-table tr:last-child td { border-bottom: none; }

.am-label { color: #948c7a; font-weight: 600; width: 30%; min-width: 150px; }

.am-input-group { margin-bottom: 15px; }
.am-input {
    width: 100%; padding: 12px 15px;
    background: #0b0908;
    border: 1px solid rgba(201, 162, 39, 0.30);
    border-radius: 3px; color: #ece4d3;
    font-size: 1rem; font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.am-input:focus {
    outline: none;
    border-color: #e0b84a;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.am-input::placeholder { color: #6b6459; }
textarea.am-input { min-height: 120px; resize: vertical; }

.am-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px;
    background: #ab8226;
    color: #14100a !important;
    border: none; border-radius: 3px;
    font-family: "Cinzel", serif;
    font-weight: 700; font-size: 0.9rem;
    letter-spacing: 0.3px;
    cursor: pointer; transition: background 0.2s ease, transform 0.1s ease;
    text-decoration: none !important; min-width: 120px;
}
.am-btn:hover { background: #e0b84a; transform: translateY(-1px); }

.am-btn-secondary { background: #2a2a2a; color: #ece4d3 !important; }
.am-btn-secondary:hover { background: #3d3d3d; }

.am-btn-danger { background: rgba(184, 64, 47, 0.15); color: #d98a78 !important; border: 1px solid rgba(184, 64, 47, 0.4); }
.am-btn-danger:hover { background: rgba(184, 64, 47, 0.3); color: #fff !important; }

.am-btn-row {
    display: flex; gap: 15px; justify-content: center;
    margin-top: 20px; flex-wrap: wrap;
}

.am-alert {
    padding: 15px 20px; border-radius: 3px;
    margin-bottom: 22px; border-left: 3px solid;
    display: flex; align-items: flex-start; gap: 15px;
    background: #1b1611;
}
.am-alert-icon { font-size: 1.4rem; line-height: 1; }
.am-alert-content { flex: 1; }
.am-alert-info    { border-color: #e0b84a; background: rgba(201, 162, 39, 0.08); }
.am-alert-danger  { border-color: #b8402f; background: rgba(184, 64, 47, 0.10); color: #d98a78; }
.am-alert-warning { border-color: #ab8226; background: rgba(201, 162, 39, 0.08); color: #e0b84a; }
.am-alert-success { border-color: #2f9e6a; background: rgba(47, 158, 106, 0.08); color: #6ee7b7; }

.char-list-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px; border-bottom: 1px solid rgba(201, 162, 39, 0.10);
    transition: background 0.2s;
}
.char-list-item:hover { background: rgba(201, 162, 39, 0.03); }
.char-list-item:last-child { border-bottom: none; }

.char-info { display: flex; flex-direction: column; }
.char-name { font-weight: 700; font-size: 1.05rem; color: #ece4d3; }
.char-meta { font-size: 0.88rem; color: #948c7a; }

.char-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 600;
    padding: 4px 10px; border-radius: 20px;
    background: rgba(0,0,0,0.25);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-online .status-dot { background: #2f9e6a; box-shadow: 0 0 5px #2f9e6a; }
.status-online { color: #2f9e6a; }
.status-offline .status-dot { background: #b8402f; }
.status-offline { color: #b8402f; }

.recovery-key-box {
    background: rgba(201, 162, 39, 0.06);
    border: 2px dashed rgba(201, 162, 39, 0.4);
    border-radius: 4px;
    padding: 20px; text-align: center; margin: 20px 0;
}
.recovery-key-code {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem; font-weight: 700;
    letter-spacing: 4px; color: #e0b84a;
    display: block; margin-top: 10px; word-break: break-all;
}

@media (max-width: 768px) {
    .am-label { width: 100%; display: block; margin-bottom: 5px; }
    .am-table td { display: block; width: 100%; padding: 8px 15px; }
    .am-table tr { border-bottom: 1px solid rgba(201, 162, 39, 0.10); display: block; padding-bottom: 10px; margin-bottom: 10px; }
    .am-table tr:last-child { border: none; }
    .char-list-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .am-btn { width: 100%; }
    .am-btn-row { flex-direction: column; }
}

/* Ukrywanie starych elementów Layoutu Gesiora */
.TableContainer, .CaptionContainer, .InnerTableContainer, .Table1 {
    background: transparent !important; border: none !important;
    box-shadow: none !important; padding: 0 !important; margin: 0 !important;
}
.InnerTableContainer > table { width: 100%; }