/* Basic Template Custom Styles - White Theme */
:root {
    --primary: #64748b;
    /* Slate 500 - 밝은 회색 */
    --primary-glow: rgba(100, 116, 139, 0.3);
    --text-main: #334155;
    /* Slate 700 - Main Text */
    --text-muted: #64748b;
    /* Slate 500 - Muted Text */
    --glass-border: rgba(0, 0, 0, 0.08);
    /* Light Border */
    --card-bg: rgba(255, 255, 255, 0.8);
    /* White Glass */
}

body {
    background: url('https://i.imgur.com/pink-stars-bg.gif') repeat fixed #330033;
    color: #ffe6f2;
    font-family: 'VT323', monospace;
    font-size: 22px;
    margin: 0;
    padding: 0;
    background-color: #220022; 
}

.browser-frame {
    max-width: 1100px;
    margin: 30px auto;
    border: 10px double #ff99cc;
    border-radius: 18px;
    box-shadow: 0 0 40px #ff66b2;
    background: #330033;
    overflow: hidden;
}

.title-bar {
    background: linear-gradient(to right, #cc0066, #ff3399);
    color: white;
    padding: 10px 15px;
    font-family: Arial;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}

.buttons .btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: 6px;
}

.address-bar {
    background: #ddd;
    color: #000;
    padding: 6px;
    margin: 8px 15px;
    border: 3px inset #aaa;
    font-family: Arial;
    font-size: 15px;
    width: calc(100% - 30px);
    display: block;
    box-sizing: border-box;
    outline: none;
}

.menu-bar {
    background: #d4d0c8;
    color: #000;
    padding: 4px 15px;
    border-bottom: 1px solid #808080;
    display: flex;
    gap: 15px;
    font-family: 'Tahoma', 'Arial', sans-serif;
    font-size: 13px;
    box-shadow: inset 1px 1px #fff;
}

.menu-bar a {
    color: #000;
    text-decoration: none;
    padding: 2px 6px;
    border: 1px solid transparent;
}

.menu-bar a:hover {
    background: #0a246a;
    color: #fff;
    border: 1px solid #fff;
}

h1 {
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 52px;
    color: #ff69b4;
    text-shadow: 0 0 20px #ff3399, 0 0 40px #ff1493;
    margin: 25px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

marquee {
    font-size: 32px;
    color: #ffffcc;
    background: rgba(255, 105, 180, 0.2);
    padding: 12px;
    margin: 20px 0;
}

.container {
    padding: 25px;
}

.big-btn {
    display: inline-block;
    background: linear-gradient(#ff66cc, #cc3399);
    color: white;
    padding: 18px 40px;
    font-size: 26px;
    border: 5px outset #ff99cc;
    border-radius: 30px;
    text-decoration: none;
    margin: 15px;
    box-shadow: 0 0 25px #ff66b2;
    transition: all 0.3s;
}

.big-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px #ff99cc;
}

.stars {
    font-size: 36px;
    color: #ffff66;
    animation: twinkle 1.5s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ==========================================================================
   BASIC BOARD SKIN STYLES (Migrated)
   ========================================================================== */

/* Common Container */
.basic-container {
    margin-top: 0rem;
}

/* ---------------- LIST PAGE ---------------- */
.basic-list-header {
    margin-bottom: 2.5rem;
    display: block;
    justify-content: space-between;
    align-items: center;
    text-align:center;
}

.basic-title {
    font-size: 3.0rem;
    font-weight: 800;
    color: #cccccc;
}

.basic-desc {
    color: #999999;
    margin-top: 0.5rem;
}

.basic-search-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.basic-search-form {
    display: flex;
    gap: 1rem;
}

.basic-search-input {
    flex: 1;
}

.btn-clear {
    background: var(--glass-border);
    color: var(--text-main);
}

.basic-table {
    margin: 0;
    text-align: center;
    width: 100%;
}

.basic-table-head {
    border-bottom: 2px solid var(--glass-border);
    background: #5C154D !important;
}

.basic-table-head th {
    color: white !important;
    font-weight: 600;
    padding: 1rem 0.75rem;
    border-bottom: none !important;
}

.basic-table-head td {
    color: white !important;
    font-weight: 600;
    padding: 1rem 0.75rem;
    border-bottom: none !important;
}

/* Table Body Styles */
.basic-table tbody {
    background: #f1f5f9 !important;
}

.basic-table tbody td {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Column Widths */
.col-no {
    width: 60px;
}

.col-author {
    width: 120px;
}

.col-views {
    width: 80px;
}

.col-replies {
    width: 80px;
}

.col-comments {
    width: 80px;
}

.col-date {
    width: 150px;
}

.empty-state {
    text-align: center;
    padding: 4rem;
    color: var(--text-muted);
}

.post-row {
    cursor: pointer;
}

.post-row:hover {
    background: rgba(100, 116, 139, 0.15) !important;
}

.post-row:hover td {
    background: rgba(100, 116, 139, 0.15) !important;
}

/* Cell Styles */
.cell-no {
    text-align: center;
    color: var(--text-muted);
}

.cell-title {
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
}

.reply-count {
    color: var(--primary);
    font-size: 0.85rem;
    margin-left: 5px;
}

.cell-author {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cell-center {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cell-replies {
    text-align: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.cell-comments {
    text-align: center;
    color: #10b981;
    font-size: 0.9rem;
}

.cell-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.btn-page {
    background: var(--glass-border);
    color: var(--text-main);
    padding: 0.5rem 1rem;
}

.btn-page-active {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
}

/* ---------------- VIEW PAGE ---------------- */
.post-header-card {
    margin-bottom: 1.5rem;
}

.post-header-border {
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-view-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #cccccc;
    margin-bottom: 1rem;
    text-align:left;
}

.post-meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-meta-left {
    display: flex;
    gap: 2rem;
    color:#dddddd;
}

.post-actions {
    display: flex;
    gap: 1rem;
}

.btn-list {
    background: #5C154D;
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-edit {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.delete-form {
    display: inline;
}

.btn-delete {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.post-content-view {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.05rem;
    min-height: 200px;
}

.post-content-view p{
    margin: 0;
}

.post-content-view img{
    max-width: 100%;
    height: auto;
}

.file-list-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.attached-files-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.attached-label {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.file-download-item {
    background: var(--glass-border);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info-text {
    color: #999999;
}

.btn-download {
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
}

/* Comments */
.comments-header {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid var(--glass-border);
}

.comment-write-box {
    background: var(--glass-border);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.comment-textarea {
    margin-bottom: 1rem;
    background: #ffffff;
    color: #000000;
    border: 1px solid var(--glass-border);
}

.login-request-box {
    text-align: center;
    padding: 2rem;
    background: var(--glass-border);
    border-radius: 8px;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.login-link {
    color: var(--primary);
    text-decoration: underline;
}

.no-comments {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.comment-item {
    background: #712456;
    padding: 1.0rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: #999999;
    margin-bottom: 0.3rem;
}

.comment-date {
    font-size: 0.8rem;
    color: #999999;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.btn-reply-action {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-delete-action {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.85rem;
}

.comment-text {
    color: #ffffff;
    line-height: 1.6;
}

.reply-box {
    display: none;
    margin-top: 1rem;
    padding-left: 2rem;
    border-left: 2px solid var(--primary);
}

.reply-input {
    margin-bottom: 0.5rem;
    background: #ffffff;
    color: #000000;
    border: 1px solid var(--glass-border);
}

.reply-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-send-reply {
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
}

.btn-cancel-reply {
    background: #ffffff;
    color: #000000;
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
}

.sub-comments-wrapper {
    margin-top: 1.5rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(99, 102, 241, 0.3);
}

.sub-comment-item {
    background: rgba(99, 102, 241, 0.05);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.sub-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.sub-comment-author {
    font-weight: 600;
    color: #999999;
    font-size: 0.9rem;
}

.sub-comment-date {
    font-size: 0.75rem;
    color: #999999;
    margin-left: 0.5rem;
}

.btn-delete-sub {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.75rem;
}

.sub-comment-text {
    color: #999999;
    line-height: 1.5;
    font-size: 0.9rem;
}

.max-reply-alert {
    font-size: 0.8rem;
    color: #999999;
    margin-top: 0.5rem;
}

/* ---------------- WRITE PAGE ---------------- */
.write-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--glass-border);
}

.write-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #cccccc;
}

.write-subtitle {
    color: #999999;
    margin-top: 0.5rem;
    display:none;
}

.editor-mode-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.editor-label {
    margin-bottom: 0;
    color: #ffffff;
}

.mode-switch-group {
    background: var(--glass-border);
    padding: 3px;
    border-radius: 6px;
}

.btn-mode-label {
    color: #ffffff;
    border: none;
    padding: 0.25rem 0.75rem;
}

.editor-container-style {
    height: 400px;
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.html-editor-textarea {
    height: 400px;
    font-family: monospace;
    font-size: 0.9rem;
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.attachments-label {
    margin-bottom: 1rem;
    display: block;
    color: #ffffff;
}

.existing-files-wrapper {
    margin-bottom: 1rem;
}

.existing-files-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.existing-file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    background: var(--glass-border);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.file-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-main);
}

.delete-file-label {
    font-size: 0.8rem;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.file-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.file-input-group .form-control {
    flex: 1;
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-add-file {
    width: 45px;
    padding: 0;
    font-size: 1.2rem;
}

.btn-remove-file {
    width: 45px;
    padding: 0;
    background: #ef4444;
    border: none;
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
}

.write-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
}

.btn-submit {
    padding: 0.75rem 2rem;
}

.btn-cancel {
    background: #5C154D;
    color: #ffffff;
    padding: 0.75rem 2rem;
}

/* Quill Editor Adaptation */
.ql-toolbar.ql-snow {
    background: var(--card-bg) !important;
    border-color: var(--glass-border) !important;
    border-radius: 8px 8px 0 0 !important;
}

.ql-container.ql-snow {
    border-color: var(--glass-border) !important;
    border-radius: 0 0 8px 8px !important;
    font-family: inherit;
    font-size: 1rem;
}

.ql-editor {
    color: var(--text-main);
    min-height: 400px;
}

.ql-editor.ql-blank::before {
    color: var(--text-muted);
}

.ql-snow .ql-stroke {
    stroke: var(--text-muted);
}

.ql-snow .ql-fill {
    fill: var(--text-muted);
}

.ql-snow .ql-picker {
    color: var(--text-muted);
}

.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-fill {
    stroke: var(--primary);
    fill: var(--primary);
}

.ql-snow .ql-picker-label:hover,
.ql-snow .ql-picker-label.ql-active {
    color: var(--primary);
}

/* ==========================================================================
   BLOG BOARD SKIN STYLES (Migrated)
   ========================================================================== */
.blog-container {
    margin-top: 5rem;
}

.blog-header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 1rem;
    background: rgba(100, 116, 139, 0.3);
    padding: 5px 15px;
    border-radius: 8px;
}

.admin-label {
    font-size: 0.85rem;
    color: #111;
    cursor: pointer;
}

.blog-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.blog-desc {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.blog-search-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.blog-search-form {
    display: flex;
    gap: 1rem;
}

.blog-search-input {
    flex: 1;
}

.btn-clear {
    background: var(--glass-border);
    color: var(--text-main);
}

.blog-empty {
    text-align: center;
    padding: 5rem;
    color: var(--text-muted);
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    min-height: 200px;
}

.blog-item:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.05);
    /* Tint on hover */
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 300px;
    min-width: 300px;
    background-size: cover;
    background-position: center;
    border-right: 1px solid var(--glass-border);
}

.blog-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-post-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.blog-item:hover .blog-post-title {
    color: var(--primary);
}

.blog-post-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.meta-left,
.meta-right {
    display: flex;
    gap: 1.2rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: var(--primary);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .blog-item {
        flex-direction: column;
    }

    .blog-image {
        width: 100%;
        height: 200px;
        min-width: unset;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .blog-info {
        padding: 1.5rem;
    }

    .blog-post-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .blog-image {
        height: 200px;
    }
}


/* ==========================================================================
   GALLERY BOARD SKIN STYLES (Migrated)
   ========================================================================== */
.gallery-container {
    margin-top: 5rem;
}

.gallery-header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.gallery-desc {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.gallery-search-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.gallery-search-form {
    display: flex;
    gap: 1rem;
}

.gallery-search-input {
    flex: 1;
}

.gallery-empty {
    text-align: center;
    padding: 5rem;
    color: var(--text-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.gallery-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));
}

.gallery-stats {
    display: flex;
    gap: 1.5rem;
    color: #fff;
    font-size: 0.9rem;
}

/* Overlay text needs to be white even in Light Mode */
.gallery-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-info {
    padding: 1.25rem;
    background-color: rgba(0, 0, 0, 0.05);
}

.gallery-info h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.gallery-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .gallery-image {
        height: 200px;
    }
}

/* ==========================================================================
   MYPAGE STYLES (Migrated)
   ========================================================================== */
.mypage-container {
    margin-top: 0;
}

.mypage-header-mb {
    margin-bottom: 1rem;
}

.mypage-header-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
}

.mypage-header-divider {
    width: 50px;
    height: 4px;
    background: #ffffff;
    margin-top: 10px;
    border-radius: 2px;
    display:none;
}

.mypage-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.mypage-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

/* Profile Section */
.glass-card-start {
    align-self: start;
}

/* Helper for align-self: start */
.mypage-profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.mypage-profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-bottom: 1rem;
}

.mypage-profile-name {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.mypage-profile-role {
    font-size: 0.85rem;
    color: #ffffff;
}

.mypage-form-group {    
    margin-bottom: 1.2rem;
}

.mypage-form-group label {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #ffffff;
}

.mypage-input-disabled {
    opacity: 0.6;
}

.btn-w-100 {
    width: 100%;
}

.mypage-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    width: 100%;
    text-align: center;
}

.mypage-divider {
    border-color: #ffffff;
    margin: 2rem 0;
}

.btn-delete-account {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

/* Posts Section */
.mypage-section-title {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.mypage-table {
    background: transparent;
}

.mypage-badge {
    font-size: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
}

.mypage-post-link {
    color: #000000;
    text-decoration: none;
    display: block;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mypage-post-link:hover {
    color: var(--primary);
}

.mypage-post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mypage-empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.mypage-empty-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.table-hover tbody tr:hover {
    background: rgba(125, 125, 125, 0.05);
}

@media (max-width: 991.98px) {
    .mypage-grid {
        grid-template-columns: 1fr;
    }

    .mypage-container {
        margin-top: 2rem !important;
    }
}
