body {
    background: #f8fafc;
    font-family: "Nunito", sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
}

.header-note {
    font-size: 14px;
}

@media (max-width: 576px) {
    .header-note {
        font-size: 12px;
        line-height: 1.2;
    }

    .mypage-event-table {
        table-layout: fixed;
    }

    .mypage-event-col-date {
        width: 24%;
    }

    .mypage-event-col-title {
        width: 32%;
    }

    .mypage-event-col-country {
        width: 20%;
    }

    .mypage-event-col-category {
        width: 24%;
    }

    .mypage-event-table th,
    .mypage-event-table td {
        white-space: normal;
        word-break: break-word;
    }

    .mypage-event-table th.text-nowrap {
        white-space: normal !important;
    }
}

.top-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.top-brand img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.top-user-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.site-header-wrap {
    gap: 8px;
}

@media (min-width: 768px) {
    .top-user-nav {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .site-header-user-nav {
        margin-left: auto;
    }
}

.lang-select-wrap {
    min-width: 130px;
    margin-bottom: 0;
}

.lang-select {
    min-width: 130px;
    font-size: 0.75rem;
    line-height: 1.2;
}

.login-area {
    max-width: 860px;
    margin: 0 auto;
}

.login-title {
    text-align: center;
    font-weight: 400;
}

.register-help-text {
    color: #cc0000;
}

.admin-page .lang-select {
    font-size: 0.85rem;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.admin-side-col {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .admin-side-col {
        margin-bottom: 0;
    }
}

.admin-left-nav {
    background: #fff;
    border: 1px solid #dee2e6;
}

.admin-left-nav .nav-link {
    color: rgba(0, 0, 0, 0.65);
    font-weight: 400;
}

.admin-left-nav .nav-link.active {
    font-weight: 700;
}

.admin-table-head-blue,
.mypage-table-head-blue {
    background-color: rgba(68, 114, 196, 1) !important;
}

.admin-table-head-blue th,
.mypage-table-head-blue th {
    background-color: rgba(68, 114, 196, 1) !important;
    color: #fff !important;
    font-weight: 600;
}

.admin-page .table a,
.mypage-page .table a {
    color: #07d;
    text-decoration: none;
}

.admin-page .table a:hover,
.mypage-page .table a:hover {
    color: #059;
}

.admin-csvbutton {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    color: #fff;
    background-color: #719bf3;
    padding: 5px 12px;
    border: 1px solid #d2d2d2;
}

.admin-csvbutton a {
    color: inherit;
    text-decoration: none;
}

.admin-action-bar {
    gap: 8px;
}

.admin-action-buttons {
    gap: 8px;
}

.admin-footer-placeholder {
    min-height: 48px;
}

.admin-back-link-wrap {
    display: flex;
}

.admin-back-link-wrap-left {
    justify-content: flex-start;
}

.admin-back-link-wrap-center {
    justify-content: center;
}

.admin-back-link-wrap-right {
    justify-content: flex-end;
}

.admin-back-link-space-none {
    margin-top: 0;
}

.admin-back-link-space-sm {
    margin-top: 8px;
}

.admin-back-link-space-md {
    margin-top: 32px;
}

.admin-back-link-space-lg {
    margin-top: 24px;
}

.admin-btn-cancel {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.admin-btn-cancel:hover,
.admin-btn-cancel:focus {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.admin-btn-submit {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.admin-btn-submit:hover,
.admin-btn-submit:focus {
    color: #fff;
    background-color: #a71d2a;
    border-color: #9f1c28;
}

.admin-btn-delete {
    color: #dc3545;
    background-color: transparent;
    border-color: #dc3545;
}

.admin-btn-delete:hover,
.admin-btn-delete:focus {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.table tbody tr.message-unread-row:nth-of-type(odd) > * {
    background-color: #ffb23d !important;
}

.table tbody tr.message-unread-row:nth-of-type(even) > * {
    background-color: #ffc15c !important;
}

.detail-card {
    border: 1px solid #dee2e6;
    background-color: #fff;
}

.detail-card-head {
    padding: 0.75rem;
    color: #fff;
    font-weight: 600;
    background-color: rgba(68, 114, 196, 1);
}

.detail-list {
    margin: 0;
}

.detail-list dt,
.detail-list dd {
    margin: 0;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
}

.detail-list dt {
    color: #495057;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.detail-list dd {
    background-color: #fff;
    color: #212529;
    font-size: 0.95rem;
    font-weight: 400;
}

.detail-list dt:nth-of-type(odd),
.detail-list dt:nth-of-type(odd) + dd {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 767.98px) {
    .detail-list dt {
        padding-bottom: 0.35rem;
    }

    .detail-list dd {
        padding-top: 0.35rem;
        padding-bottom: 1rem;
    }
}
