.main-content {
    background: url('../b1g1m2a3i4.png') center/cover no-repeat fixed;
    min-height: calc(100vh - 120px);
}

.mypage-login-required {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-card i {
    font-size: 64px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.login-card h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.login-card p {
    color: var(--text-gray);
    margin-bottom: 32px;
}

.mypage-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mypage-user-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
}

.user-details h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: var(--text-dark);
}

.user-badges {
    margin-bottom: 12px;
}

.role-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.role-badge.role-free {
    background: #e9ecef;
    color: #495057;
}

.role-badge.role-classic {
    background: #0d6efd;
    color: #fff;
}

.role-badge.role-master {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.role-badge.role-admin {
    background: #dc3545;
    color: #fff;
}

.search-limit-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 14px;
}

.search-limit-info i {
    color: var(--primary);
}

.search-limit-info strong {
    color: var(--primary);
    font-weight: 700;
}

.mypage-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.tab-button {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.tab-button:hover {
    border-color: var(--primary);
    background: rgba(255, 111, 15, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
    border-color: var(--primary);
    background: rgba(255, 111, 15, 0.15);
    box-shadow: 0 4px 12px rgba(255, 111, 15, 0.2);
}

.tab-button i {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
}

.tab-button span {
    font-size: 14px;
    font-weight: 600;
    display: block;
}

.tab-button .unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    margin-left: 4px;
    vertical-align: middle;
}

.tab-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.info-card {
    background: var(--bg-gray);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.info-card h5 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h5 i {
    color: var(--primary);
}

.info-card table {
    width: 100%;
}

.info-card table tr {
    border-bottom: 1px solid var(--border);
}

.info-card table tr:last-child {
    border-bottom: none;
}

.info-card table td {
    padding: 12px 0;
    font-size: 14px;
}

.info-card table td:first-child {
    color: var(--text-gray);
    font-weight: 500;
    width: 40%;
}

.info-card table td:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

.jobs-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.jobs-filter .form-control {
    flex: 1;
    min-width: 150px;
}

.jobs-table-container {
    overflow-x: auto;
    margin-bottom: 24px;
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.jobs-table thead {
    background: var(--bg-gray);
}

.jobs-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-gray);
    text-transform: uppercase;
    border-bottom: 2px solid var(--border);
}

.jobs-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.jobs-table tbody tr:hover {
    background: var(--bg-gray);
}

/* ========== 마이페이지 쪽지함 PC ========== */
.msg-inbox-card {
    margin-bottom: 24px;
}
.msg-inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.msg-inbox-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}
.msg-inbox-body {
    min-height: 120px;
}
.msg-inbox-empty,
.msg-inbox-error {
    text-align: center;
    padding: 24px;
    margin: 0;
}
.msg-inbox-empty {
    color: #6b7280;
}
.msg-inbox-error {
    color: #ef4444;
}
.msg-inbox-table-wrap {
    overflow-x: auto;
    margin-bottom: 16px;
}
.msg-inbox-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
}
.msg-inbox-table thead {
    background: var(--bg-gray);
}
.msg-inbox-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-gray);
    border-bottom: 2px solid var(--border);
}
.msg-inbox-table .msg-col-num {
    width: 48px;
    text-align: center;
}
.msg-inbox-table th.msg-col-num,
.msg-inbox-table td.msg-col-num {
    width: 50px;
    max-width: 50px;
    box-sizing: border-box;
}
.msg-inbox-table .msg-col-status {
    width: 72px;
}
.msg-inbox-table .msg-col-type {
    width: 72px;
}
.msg-inbox-table .msg-col-title {
    min-width: 0;
    width: auto;
    max-width: 36%;
}
.msg-inbox-table .msg-col-date {
    width: 170px;
}
.msg-inbox-table .msg-col-actions {
    width: 100px;
    text-align: center;
}
.msg-inbox-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.msg-inbox-table tbody tr:hover {
    background: var(--bg-gray);
}
.msg-title-cell-clickable {
    display: inline-block;
    max-width: 100%;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.msg-title-cell-clickable:hover {
    color: var(--primary, #ff6f0f);
    border-bottom-color: var(--primary, #ff6f0f);
}
.msg-type-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}
.msg-type-badge.msg-type-notice {
    color: #1e40af;
    background: #dbeafe;
}
.msg-type-badge.msg-type-payment {
    color: #166534;
    background: #d1fae5;
}
.msg-type-badge.msg-type-system {
    color: #374151;
    background: #f3f4f6;
}
.msg-type-badge.msg-type-private {
    color: #7c3aed;
    background: #ede9fe;
}
.msg-inbox-table .msg-col-num {
    color: #6b7280;
    font-weight: 500;
}
.msg-status-read {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}
.msg-status-unread {
    color: #2563eb;
    font-weight: 700;
    font-size: 14px;
}
.msg-inbox-table .msg-title-cell {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msg-inbox-table .msg-title-cell:not(.msg-title-cell-clickable) {
    display: block;
}
.msg-inbox-table .msg-title-cell-clickable {
    display: inline-block;
    max-width: 100%;
}
.msg-inbox-table .msg-col-date {
    color: #6b7280;
    font-size: 13px;
}
.msg-inbox-table .msg-col-actions {
    white-space: nowrap;
}
.msg-inbox-table .msg-col-actions .btn-sm {
    margin: 0 2px;
    padding: 4px 10px;
    font-size: 12px;
}
.msg-inbox-table .msg-btn-del {
    color: #dc2626;
    border-color: #fecaca;
}
.msg-inbox-table .msg-btn-del:hover {
    background: #fef2f2;
    border-color: #dc2626;
}
.msg-unread-row {
    background: #f0f9ff;
}
.msg-unread-row .msg-title-cell {
    font-weight: 600;
    color: #1e40af;
}
.msg-inbox-pagination {
    margin-top: 20px;
}
.msg-inbox-pagination-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.msg-inbox-page-num {
    margin: 0 12px;
    font-size: 13px;
    color: #6b7280;
}
/* 쪽지 상세 모달 - 제목 / 내용·발신일·발신자 하단 고정 */
.msg-detail-modal .modal-box {
    max-width: 900px;
    width: 92vw;
    min-height: 75vh;
    max-height: 92vh;
}
.msg-detail-modal-box {
    max-width: 900px;
    width: 92vw;
    min-height: 75vh;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}
.msg-detail-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.msg-detail-modal-heading {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}
.msg-detail-modal-top {
    flex-shrink: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.msg-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    line-height: 1.4;
    word-break: break-word;
}
.msg-detail-modal-bottom {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 16px 0 0 0;
    border-top: none;
    background: #fff;
}
.msg-detail-field {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 12px;
    font-size: 14px;
}
.msg-detail-field:last-child {
    margin-bottom: 0;
}
.msg-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-bottom: 0;
}
.msg-detail-meta-row .msg-detail-field {
    margin-bottom: 0;
}
.msg-detail-label {
    flex-shrink: 0;
    font-weight: 600;
    color: #374151;
}
.msg-detail-colon {
    flex-shrink: 0;
    margin-right: 4px;
    color: #6b7280;
}
.msg-detail-value {
    flex: 1;
    min-width: 0;
    color: var(--text-primary);
    word-break: break-word;
}
.msg-detail-field-content {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 14px;
    flex: 1;
    min-height: 0;
    display: flex;
}
.msg-detail-field-content .msg-detail-label {
    margin-bottom: 6px;
    flex-shrink: 0;
}
.msg-detail-field-content .msg-detail-colon {
    display: none;
}
.msg-detail-content-box {
    padding: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 50vh;
    overflow-y: auto;
    flex: 1;
}
.msg-detail-content-box br {
    display: block;
    content: "";
    margin-top: 0.5em;
}
.msg-detail-modal-footer {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.running {
    background: #cfe2ff;
    color: #084298;
}

.status-badge.completed {
    background: #d1e7dd;
    color: #0f5132;
}

.status-badge.failed {
    background: #f8d7da;
    color: #842029;
}

.progress-bar-container {
    width: 100px;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 111, 15, 0.2);
}

.stat-card h4 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.stat-card p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.popular-keywords-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-keywords-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.popular-keywords-list li:hover {
    background: var(--bg-gray);
}

.popular-keywords-list li:last-child {
    border-bottom: none;
}

.keyword-name {
    font-weight: 600;
    color: var(--text-dark);
}

.keyword-count {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
}

.subscription-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.subscription-info-item {
    padding: 16px;
    background: var(--bg-gray);
    border-radius: 8px;
}

.subscription-info-item label {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.subscription-info-item .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.plan-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-benefits-list li:last-child {
    border-bottom: none;
}

.plan-benefits-list li i {
    color: var(--primary);
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.today-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.today-activity-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.today-activity-list li:last-child {
    border-bottom: none;
}

.activity-keyword {
    font-weight: 600;
    color: var(--text-dark);
}

.activity-time {
    color: var(--text-gray);
    font-size: 13px;
}

@media (max-width: 1200px) {
    .mypage-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
html, body {
max-width: 100%;
overflow-x: hidden;
}
.app-layout,
.main-content,
.content-container,
.tab-content {
max-width: 100%;
overflow-x: hidden;
}
.main-content {
background-attachment: scroll;
min-height: auto;
}
.content-container {
padding: 16px 8px;
}
.mypage-header {
padding: 20px 16px;
margin: 0 0 16px 0;
}
.mypage-tabs {
display: flex;
flex-direction: row;
overflow-x: auto;
overflow-y: hidden;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
-ms-overflow-style: none;
gap: 8px;
padding-bottom: 8px;
margin-left: 0;
margin-right: 0;
}
.mypage-tabs::-webkit-scrollbar {
display: none;
}
.mypage-tabs li {
flex: 0 0 auto;
scroll-snap-align: start;
min-width: 80px;
}
.tab-button {
padding: 12px 16px;
white-space: nowrap;
}
.tab-button i {
font-size: 20px;
margin-bottom: 4px;
}
.tab-button span {
font-size: 11px;
}
.tab-content {
padding: 16px 4px;
margin-left: 0;
margin-right: 0;
}
.info-grid {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: 1fr;
}
.mypage-user-info {
flex-direction: column;
text-align: center;
}
.jobs-filter {
flex-direction: column;
}
.jobs-filter .form-control {
width: 100%;
}
.jobs-table {
font-size: 12px;
}
.jobs-table th,
.jobs-table td {
padding: 8px;
}
.mypage-payment-section {
margin-top: 24px;
padding-top: 20px;
border-top: 2px solid #e5e7eb;
}
#subscriptionInfo .mypage-payment-section {
margin-top: 24px;
padding-top: 20px;
border-top: 2px solid #e5e7eb;
}
.tab-content .mypage-payment-section {
margin-top: 24px;
padding-top: 20px;
border-top: 2px solid #e5e7eb;
}
.mypage-payment-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
flex-wrap: wrap;
gap: 12px;
}
.mypage-payment-header h6 {
margin: 0;
font-size: 15px;
font-weight: 700;
color: #1f2937;
display: flex;
align-items: center;
gap: 8px;
}
.mypage-payment-header h6 i {
color: #ff6f0f;
}
.mypage-payment-header .btn-sm {
padding: 6px 12px;
font-size: 12px;
}
.mypage-payment-table-wrapper {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
border-radius: 8px !important;
border: 1px solid #e5e7eb !important;
background: #fff !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
margin-top: 12px !important;
}
.mypage-payment-table {
width: 100% !important;
border-collapse: collapse !important;
font-size: 13px !important;
background: #fff !important;
margin: 0 !important;
border: none !important;
}
.mypage-payment-table thead {
background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
display: table-header-group !important;
}
.mypage-payment-table thead tr {
display: table-row !important;
}
.mypage-payment-table thead th {
padding: 10px 12px !important;
text-align: left !important;
font-weight: 600 !important;
font-size: 11px !important;
color: #fff !important;
text-transform: uppercase !important;
white-space: nowrap !important;
letter-spacing: 0.5px !important;
border: none !important;
background: transparent !important;
display: table-cell !important;
}
.mypage-payment-table tbody {
display: table-row-group !important;
}
.mypage-payment-table tbody tr {
display: table-row !important;
}
.mypage-payment-table tbody td {
padding: 12px !important;
border-bottom: 1px solid #e5e7eb !important;
vertical-align: middle !important;
border-left: none !important;
border-right: none !important;
border-top: none !important;
background: #fff !important;
display: table-cell !important;
}
.mypage-payment-table tbody tr:hover {
background: rgba(255, 111, 15, 0.03) !important;
}
.mypage-payment-table tbody tr:hover td {
background: rgba(255, 111, 15, 0.03) !important;
}
.mypage-payment-table tbody tr:last-child td {
border-bottom: none !important;
}
.mypage-payment-table .plan-cell strong {
color: #1f2937 !important;
font-weight: 600 !important;
}
.mypage-payment-table .period-cell {
color: #6b7280 !important;
font-size: 12px !important;
}
.mypage-payment-table .amount-cell {
color: #6b7280 !important;
font-size: 12px !important;
}
.mypage-payment-table .discount-cell .discount-value {
color: #10b981 !important;
font-weight: 600 !important;
}
.mypage-payment-table .final-cell strong {
color: #ff6f0f !important;
font-weight: 700 !important;
font-size: 14px !important;
}
.mypage-status-badge {
display: inline-block !important;
padding: 4px 10px !important;
border-radius: 12px !important;
font-size: 11px !important;
font-weight: 600 !important;
white-space: nowrap !important;
border: none !important;
}
.mypage-status-badge.status-pending {
background: #fef3c7 !important;
color: #92400e !important;
}
.mypage-status-badge.status-approved {
background: #d1fae5 !important;
color: #065f46 !important;
}
.mypage-status-badge.status-rejected {
background: #fee2e2 !important;
color: #991b1b !important;
}
.mypage-status-badge.status-cancelled {
background: #f3f4f6 !important;
color: #6b7280 !important;
}
.mypage-payment-empty {
padding: 40px;
text-align: center;
background: #f8fafc;
border-radius: 12px;
}
.mypage-payment-empty i {
font-size: 40px;
color: #cbd5e1;
display: block;
margin-bottom: 12px;
}
.mypage-payment-empty p {
margin: 0;
color: #94a3b8;
font-size: 14px;
}
#settings .settings-grid {
display: grid !important;
grid-template-columns: 1fr 1fr !important;
gap: 24px !important;
}
#settings .settings-grid .info-card {
display: block !important;
}
@media (max-width: 768px) {
#settings .settings-grid {
grid-template-columns: 1fr !important;
}
}
.telegram-status {
margin-bottom: 20px;
padding: 20px;
background: #f8fafc;
border-radius: 12px;
border: 2px solid #e5e7eb;
transition: all 0.3s ease;
}
.telegram-status.connected {
background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
border-color: #10b981;
color: #065f46;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}
.telegram-status.disconnected {
background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
border-color: #ef4444;
color: #991b1b;
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}
.telegram-status i {
font-size: 24px;
margin-right: 8px;
vertical-align: middle;
}
.telegram-status strong {
font-size: 16px;
display: block;
margin-bottom: 8px;
}
.telegram-status small {
font-size: 13px;
opacity: 0.9;
display: block;
margin-top: 4px;
}
.telegram-code-section {
margin-top: 24px;
padding: 24px;
background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
border-radius: 12px;
border: 2px solid #ff6f0f;
box-shadow: 0 4px 16px rgba(255, 111, 15, 0.2);
}
.code-display-container {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-bottom: 16px;
padding: 8px;
}
.code-display {
font-size: 36px;
font-weight: 700;
letter-spacing: 6px;
color: #ff6f0f;
font-family: 'Courier New', monospace;
padding: 20px 24px;
background: #ffffff;
border-radius: 10px;
border: 3px dashed #ff6f0f;
text-align: center;
flex: 1;
box-shadow: inset 0 2px 8px rgba(255, 111, 15, 0.1);
min-width: 200px;
}
.code-display-container .btn-outline {
padding: 12px 20px;
font-size: 14px;
white-space: nowrap;
}
.code-expires {
text-align: center;
color: #6b7280;
font-size: 14px;
margin-bottom: 20px;
font-weight: 500;
padding: 8px;
background: rgba(255, 255, 255, 0.6);
border-radius: 6px;
}
.telegram-guide {
padding: 24px;
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
border-radius: 12px;
margin-bottom: 20px;
border: 2px solid #3b82f6;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}
.telegram-steps {
display: flex;
flex-direction: column;
gap: 16px;
margin-bottom: 20px;
}
.step-item {
display: flex;
align-items: flex-start;
gap: 16px;
padding: 16px;
background: #ffffff;
border-radius: 10px;
border: 1px solid #dbeafe;
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
transition: all 0.3s ease;
}
.step-item:hover {
transform: translateX(4px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
.step-number {
flex-shrink: 0;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
color: #fff;
border-radius: 50%;
font-weight: 700;
font-size: 16px;
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.step-content {
flex: 1;
}
.step-content strong {
display: block;
color: #1e40af;
font-size: 15px;
font-weight: 700;
margin-bottom: 6px;
}
.step-content p {
margin: 0;
color: #475569;
font-size: 13px;
line-height: 1.6;
}
.step-content .bot-name {
display: inline-block;
padding: 2px 8px;
background: #dbeafe;
color: #1e40af;
border-radius: 4px;
font-weight: 600;
font-family: 'Courier New', monospace;
font-size: 13px;
}
.bot-link-wrapper {
text-align: center;
margin-top: 20px;
padding-top: 20px;
border-top: 2px solid #bfdbfe;
}
.btn-telegram-bot {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 24px;
background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
color: #fff;
border-radius: 10px;
font-weight: 600;
font-size: 15px;
text-decoration: none;
box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
transition: all 0.3s ease;
}
.btn-telegram-bot:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 136, 204, 0.4);
color: #fff;
}
.btn-telegram-bot i {
font-size: 18px;
}
.verification-status {
text-align: center;
padding: 16px;
background: rgba(255, 255, 255, 0.8);
border-radius: 8px;
margin-top: 12px;
}
.status-waiting {
color: #f59e0b;
font-weight: 600;
font-size: 14px;
}
.status-waiting i {
font-size: 18px;
margin-right: 6px;
animation: pulse 2s infinite;
}
.status-verified {
color: #10b981;
font-weight: 600;
font-size: 14px;
}
.status-verified i {
font-size: 18px;
margin-right: 6px;
}
.status-expired {
color: #ef4444;
font-weight: 600;
font-size: 14px;
}
.status-expired i {
font-size: 18px;
margin-right: 6px;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.telegram-actions {
display: flex;
gap: 10px;
margin-top: 24px;
flex-wrap: wrap;
}
#settings .telegram-actions button {
flex: 1 !important;
min-width: 120px !important;
padding: 12px 20px !important;
font-size: 14px !important;
font-weight: 600 !important;
border-radius: 8px !important;
transition: all 0.3s ease !important;
cursor: pointer !important;
}
#settings .telegram-actions .btn-primary {
background: linear-gradient(135deg, #ff6f0f 0%, #ff8c42 100%) !important;
border: none !important;
color: #fff !important;
box-shadow: 0 4px 12px rgba(255, 111, 15, 0.3) !important;
}
#settings .telegram-actions .btn-primary:hover {
transform: translateY(-2px) !important;
box-shadow: 0 6px 16px rgba(255, 111, 15, 0.4) !important;
}
#settings .telegram-actions .btn-outline {
border: 2px solid #e5e7eb !important;
background: #fff !important;
color: #374151 !important;
}
#settings .telegram-actions .btn-outline:hover {
background: #f9fafb !important;
border-color: #d1d5db !important;
transform: translateY(-2px) !important;
}
#settings .telegram-actions .btn-danger {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
border: none !important;
color: #fff !important;
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}
#settings .telegram-actions .btn-danger:hover {
transform: translateY(-2px) !important;
box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4) !important;
}
#settings .telegram-actions .btn-warning {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
border: none !important;
color: #fff !important;
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}
#settings .telegram-actions .btn-warning:hover {
transform: translateY(-2px) !important;
box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4) !important;
}
.payment-requests-table-wrapper {
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.payment-requests-table {
font-size: 11px;
min-width: 100%;
}
.payment-requests-table th {
padding: 8px 6px;
font-size: 10px;
white-space: nowrap;
}
.payment-requests-table td {
padding: 8px 6px;
white-space: normal;
}
.payment-status-badge {
padding: 4px 8px;
font-size: 10px;
}
.subscription-info-grid {
grid-template-columns: 1fr;
gap: 12px;
margin-left: 0;
margin-right: 0;
}
.subscription-info-item {
padding: 12px;
}
.mypage-payment-section {
margin-top: 16px;
padding-top: 16px;
border-top: 2px solid #e5e7eb;
}
.mypage-payment-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.mypage-payment-header h6 {
font-size: 14px;
color: #1f2937;
}
.mypage-payment-header .btn-sm {
width: 100%;
text-align: center;
justify-content: center;
}
.mypage-payment-table-wrapper {
margin: 0 -4px;
border-radius: 4px;
border: 1px solid #e5e7eb;
}
.mypage-payment-table {
font-size: 11px;
min-width: 100%;
}
.mypage-payment-table th {
padding: 8px 6px;
font-size: 9px;
letter-spacing: 0;
color: #fff;
}
.mypage-payment-table th:nth-child(1) {
width: 10% !important;
}
.mypage-payment-table th:nth-child(2),
.mypage-payment-table th:nth-child(3),
.mypage-payment-table th:nth-child(4),
.mypage-payment-table th:nth-child(5) {
width: 15% !important;
}
.mypage-payment-table th:nth-child(6) {
width: 12% !important;
}
.mypage-payment-table th:nth-child(7) {
width: 18% !important;
}
.mypage-payment-table td {
padding: 8px 6px;
font-size: 11px;
border-bottom: 1px solid #e5e7eb;
}
.mypage-payment-table td:nth-child(1) {
width: 10% !important;
}
.mypage-payment-table td:nth-child(2),
.mypage-payment-table td:nth-child(3),
.mypage-payment-table td:nth-child(4),
.mypage-payment-table td:nth-child(5) {
width: 15% !important;
}
.mypage-payment-table td:nth-child(6) {
width: 12% !important;
}
.mypage-payment-table td:nth-child(7) {
width: 18% !important;
}
.mypage-status-badge {
padding: 3px 6px;
font-size: 9px;
}
.mypage-payment-empty {
padding: 24px;
background: #f8fafc;
border-radius: 8px;
}
.mypage-payment-empty i {
font-size: 32px;
color: #cbd5e1;
}
.mypage-payment-empty p {
font-size: 12px;
color: #94a3b8;
}
.telegram-guide {
padding: 16px;
}
.telegram-steps {
gap: 12px;
}
.step-item {
padding: 12px;
gap: 12px;
flex-direction: column;
text-align: center;
}
.step-number {
width: 32px;
height: 32px;
font-size: 14px;
margin: 0 auto;
}
.step-content {
text-align: center;
}
.step-content strong {
font-size: 14px;
}
.step-content p {
font-size: 12px;
}
.btn-telegram-bot {
padding: 12px 20px;
font-size: 14px;
width: 100%;
justify-content: center;
}

/* ========== 마이페이지 쪽지함 모바일 ========== */
@media (max-width: 768px) {
.msg-inbox-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.msg-inbox-title {
    font-size: 1rem;
}
.msg-inbox-table-wrap {
    margin-left: -12px;
    margin-right: -12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.msg-inbox-table {
    font-size: 12px;
    min-width: 560px;
}
.msg-inbox-table th,
.msg-inbox-table td {
    padding: 10px 8px;
}
.msg-inbox-table th.msg-col-num,
.msg-inbox-table td.msg-col-num {
    width: 42px;
    max-width: 42px;
    min-width: 42px;
}
.msg-inbox-table .msg-col-status {
    width: 56px;
}
.msg-inbox-table .msg-col-type {
    width: 52px;
}
.msg-inbox-table .msg-col-type .msg-type-badge {
    font-size: 10px;
    padding: 1px 6px;
}
.msg-inbox-table .msg-col-title {
    min-width: 0;
    width: auto;
    max-width: 36%;
}
.msg-inbox-table .msg-col-date {
    width: 115px;
    font-size: 11px;
}
.msg-inbox-table .msg-col-actions {
    width: 90px;
}
.msg-inbox-table .msg-col-actions .btn-sm {
    padding: 4px 8px;
    font-size: 11px;
    margin: 1px 0;
}
.msg-inbox-pagination {
    margin-top: 16px;
}
.msg-inbox-page-num {
    font-size: 12px;
}
.msg-detail-modal-box {
    max-width: 96vw;
    width: 96vw;
    margin: 12px;
    min-height: 80vh;
    max-height: 92vh;
}
.msg-detail-modal-top {
    padding: 10px 0;
}
.msg-detail-title {
    font-size: 18px;
    font-weight: 700;
}
.msg-detail-modal-bottom {
    padding: 12px 0 0 0;
}
.msg-detail-field {
    font-size: 13px;
}
.msg-detail-content-box {
    font-size: 14px;
    min-height: 40vh;
}
.msg-detail-modal-footer {
    flex-wrap: wrap;
}
.msg-detail-modal-footer .btn-sm {
    flex: 1;
    min-width: 80px;
}
}


}