* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #111827;
    color: #f9fafb;
    font-family: Arial, sans-serif;
}

.page-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 16px;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    margin-top: 0;
}

.page-header p,
.text-muted {
    color: #94a3b8 !important;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.profile-section {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 18px;
    margin-bottom: 22px;
    border-radius: 14px;
}

.profile-section h2 {
    margin-top: 0;
    border-bottom: 1px solid #334155;
    padding-bottom: 8px;
    color: #f9fafb;
}

.profile-section h3 input {
    font-size: 1.1em;
    font-weight: bold;
}

.form-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 12px;
    margin-bottom: 10px;
    align-items: center;
}

label {
    font-weight: bold;
    color: #cbd5e1;
}

input,
select,
textarea {
    width: 100%;
    padding: 9px;
    border-radius: 8px;
    border: 1px solid #475569;
    background: #0f172a;
    color: #f9fafb;
}

input[readonly] {
    background: #334155;
    color: #cbd5e1;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid #334155;
    padding: 8px;
    text-align: left;
}

th {
    color: #f9fafb;
}

td {
    color: #cbd5e1;
}

button,
.btn-basic {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #7c3aed;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary,
.btn-success {
    background: #7c3aed;
    border-color: #7c3aed;
}

.btn-secondary {
    background: #334155;
    border-color: #475569;
    color: #f9fafb;
}

.error-text {
    color: #f87171;
}

.action-row {
    margin-top: 18px;
}

@media (max-width: 760px) {
    .page-container {
        margin: 20px auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.card,
.card-tile {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 14px;
    color: #f9fafb;
}

.card-body {
    color: #f9fafb;
}

.card-title {
    color: #f9fafb;
}

.card-text {
    color: #94a3b8;
}

.card-header {
    background: #020617;
    border-bottom: 1px solid #334155;
    color: #f9fafb;
}

.card-link .card {
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.card-link:hover .card {
    border-color: #7c3aed;
    transform: translateY(-2px);
}

.shadow-sm {
    box-shadow: none !important;
}

.shop-item-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}