/* 応募履歴ページのスタイル */
.eump-application-history {
    margin: 20px 0;
}

.eump-applications-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 0.9em;
}

.eump-applications-table th,
.eump-applications-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eef0f3;
    text-align: left;
    line-height: 1.5;
    white-space: nowrap;
}

.eump-applications-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1a202c;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eump-applications-table tr:hover {
    background: #f5f5f5;
}

.eump-applications-table a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.2s ease;
    position: relative;
}

.eump-applications-table a:hover {
    text-decoration: underline;
}

/* ステータスラベルのスタイル */
.status-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
}

.status-pending {
    background: #ffd700;
    color: #000;
}

.status-contacted {
    background: #87ceeb;
    color: #000;
}

.status-interview {
    background: #98fb98;
    color: #000;
}

.status-hired {
    background: #ff69b4;
    color: #fff;
}

.status-rejected {
    background: #808080;
    color: #fff;
}

.status-withdrawn {
    background: #d3d3d3;
    color: #000;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .eump-wrapper.eump-application-page {
        padding: 15px 0 0 !important;
        margin: 0 !important;
        height: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #f5f7fa;
    }

    .eump-application-page h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
        padding: 0 15px 1rem;
        border-bottom: 1px solid #eef0f3;
        background: #fff;
    }

    .eump-application-list {
        margin: 0;
        padding: 8px 0;
    }

    .eump-application-item {
        position: relative;
        padding: 16px 15px;
        background: #fff;
        margin: 0 12px 8px;
        border-radius: 8px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .eump-application-item:last-child {
        margin-bottom: 0;
    }

    /* テーブル関連のスタイルをリセット */
    .eump-applications-table,
    .eump-applications-table tbody,
    .eump-applications-table tr {
        display: block;
        width: 100%;
        border: none;
        padding: 0;
        margin: 0;
        background: none;
        box-shadow: none;
    }

    .eump-applications-table thead {
        display: none;
    }

    /* 応募日とステータスを1行目に配置 */
    .eump-applications-table tr {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .eump-applications-table td[data-label="応募日"] {
        padding: 0;
        margin: 0;
        font-size: 1.5rem;
        color: #666;
        letter-spacing: 0.02em;
    }

    .eump-applications-table td[data-label="ステータス"] {
        position: absolute;
        top: -4px;
        right: 0;
        padding: 0;
    }

    /* 求人タイトル */
    .eump-applications-table td.job-title-cell {
        width: 100%;
        padding: 0;
    }

    .job-title-cell a {
        color: #333;
        font-size: 1.5rem;
        font-weight: bold;
        text-decoration: none;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        letter-spacing: 0.02em;
    }

    .job-title-cell a:hover {
        color: #2563eb;
    }

    .job-title-cell a .fa-external-link-alt {
        font-size: 1.2rem;
        margin-left: 4px;
        color: #999;
    }

    /* 企業名 */
    .eump-applications-table td[data-label="企業名"] {
        width: 100%;
        padding: 0;
        font-size: 1.3rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #333;
        letter-spacing: 0.02em;
    }

    /* エリア */
    .eump-applications-table td[data-label="エリア"] {
        width: 100%;
        padding: 0;
        font-size: 1.3rem;
        color: #333;
        letter-spacing: 0.02em;
    }

    /* ラベルを非表示にして情報を詰める */
    .eump-applications-table td::before {
        display: none;
    }

    .status-label {
        font-size: 1.3rem;
        padding: 3px 12px;
        border-radius: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 60px;
        font-weight: bold;
        letter-spacing: 0.02em;
    }

    /* メッセージスタイル */
    .eump-info-message {
        font-size: 1.4rem;
        text-align: center;
        padding: 20px 15px;
        background: #fff;
        color: #666;
        margin: 8px 12px;
        border-radius: 8px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
}

@media screen and (max-width: 480px) {
    .article-section {
        background: #fff !important;
    }
    
    .eump-page-container {
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
    }
}

/* ページ全体のレイアウト */
.page_wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page_inner {
    display: flex;
    gap: 30px;
}

.main_contents {
    flex: 1;
    min-width: 0;
}

.main_section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* .title_ribbon {
    position: relative;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #333;
}

.title_ribbon .en {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
} */

.no-history {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 16px;
}

/* 応募日のスタイル */
.application-date {
    color: #64748b;
    font-size: 0.9em;
    white-space: nowrap;
}

/* レスポンシブ対応時は文字サイズを少し大きくする */
@media screen and (max-width: 768px) {
    .eump-applications-table td {
        display: block;
        border: none;
        padding: 8px 0;
        font-size: 1em;
    }
    
    .eump-applications-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1a202c;
        display: block;
        margin-bottom: 4px;
        font-size: 0.85em;
    }
}

/* テーブルのパディング調整 */
.eump-applications-table th,
.eump-applications-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eef0f3;
    text-align: left;
    line-height: 1.5;
    white-space: nowrap;
}

/* 応募日のセル */
.eump-applications-table td:first-child {
    color: #000;
}

/* ステータスのセル */
.eump-applications-table td:last-child {
    padding-bottom:18px;
    border:none !important;
}

/* 求人タイトルのリンクスタイル */
.job-title-cell a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.job-title-cell .fa-external-link-alt {
    font-size: 0.85em;
    opacity: 0.7;
}

/* 共通のボタンスタイル */
.eump-apply-button,
.eump-favorite-button {
    width: 250px;
    height: 60px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 6px 0 #333;
    text-align: center;
    margin: 10px auto;
    display: block;
}

/* 応募ボタン */
.eump-apply-button {
    background: linear-gradient(to bottom, #ff6b6b, #ff5252);
    color: #fff;
    box-shadow: 0 6px 0 #c41e3a;
}

.eump-apply-button:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #c41e3a;
}

.eump-apply-button:active {
    transform: translateY(6px);
    box-shadow: none;
}

/* お気に入りボタン */
.eump-favorite-button {
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    color: #fff;
    box-shadow: 0 6px 0 #2e7d32;
}

.eump-favorite-button:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #2e7d32;
}

.eump-favorite-button:active {
    transform: translateY(6px);
    box-shadow: none;
}

/* ボタンエリアのスタイル */
.btn_area {
    margin: 20px 0;
    text-align: center;
}