@import url("/static/footer_pc.css");
@import url("/static/page_title.css");

.auth-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: var(--page-content-offset-top, 280px) 24px var(--pc-footer-offset, 72px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}

.auth-card {
    max-width: 480px;
    width: 100%;
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.auth-card h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

.auth-lead {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.auth-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fff0f0;
    border-left: 4px solid #d64545;
    color: #8a1f1f;
    font-size: 13px;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}

.auth-field input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.auth-submit {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.error-code {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.05em;
}

.auth-submit:hover {
    background: #333;
}

.auth-note {
    margin-top: 16px;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.auth-tip {
    margin-top: 16px;
    padding: 12px 14px;
    background: #fff8e6;
    border-left: 4px solid #e6a800;
    font-size: 12px;
    color: #665500;
    line-height: 1.7;
}

.auth-resend-form {
    margin-top: 16px;
}

.auth-resend-submit {
    background: #fff;
    color: #1a4f9c;
    border: 2px solid #1a4f9c;
}

.auth-resend-submit:hover {
    background: #f0f6ff;
}

.auth-back,
.auth-logout {
    display: inline-block;
    margin-top: 18px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
}

.auth-email-highlight {
    font-weight: bold;
}

.mypage-profile-icon {
    vertical-align: middle;
    border-radius: 50%;
    margin-right: 6px;
}

.auth-card-mypage {
    max-width: 520px;
}

.mypage-sections {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.mypage-panel {
    padding: 14px 16px;
    border: 1px solid #d8dee6;
    border-radius: 10px;
    background: #f8fafc;
}

.mypage-panel-title {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
    font-weight: bold;
    color: #1a4f9c;
}

.mypage-panel-status {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.mypage-panel-note {
    margin: 0 0 10px;
    font-size: 13px;
    color: #666;
    line-height: 1.55;
}

.mypage-panel-link {
    display: block;
    margin-bottom: 8px;
    padding: 11px 14px;
    border: 1px solid #cdd5df;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

.mypage-panel-link:hover {
    background: #f5f8fc;
}

.mypage-panel-staff {
    padding: 0;
    background: transparent;
    border: none;
}

.mypage-panel-staff .mypage-panel-link {
    margin-bottom: 0;
}

.mypage-actions-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.mypage-job-card {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.mypage-job-card:first-of-type {
    margin-top: 8px;
    padding-top: 0;
    border-top: none;
}

.mypage-action-form {
    flex: 1;
    margin: 0;
    min-width: 0;
}

.mypage-action-form-full {
    flex: 1 1 100%;
}

.mypage-btn-extend,
.mypage-btn-delete {
    width: 100%;
    padding: 11px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
}

.mypage-btn-extend {
    border: 1px solid #1a4f9c;
    background: #fff;
    color: #1a4f9c;
}

.mypage-btn-extend:disabled {
    border-color: #bbb;
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.mypage-btn-delete {
    border: 1px solid #c62828;
    background: #fff;
    color: #c62828;
}

.mypage-btn-neutral {
    border: 1px solid #888;
    background: #fff;
    color: #555;
}

.mypage-btn-success {
    border: 1px solid #2e7d32;
    background: #fff;
    color: #2e7d32;
}

.auth-menu {
    list-style: none;
    margin-top: 20px;
}

.auth-menu li {
    margin-bottom: 10px;
}

.auth-menu a,
.auth-menu span {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.auth-menu a {
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
}

.auth-menu span {
    background: #f3f3f3;
    color: #888;
    border: 1px dashed #ccc;
}

.auth-success {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 14px;
}

.auth-menu-item {
    margin-bottom: 14px;
}

.auth-menu-label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
    padding: 0;
    background: none;
    border: none;
}

.auth-menu-note {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
    padding: 0;
    background: none;
    border: none;
}

.auth-inline-form {
    margin-top: 8px;
}

.auth-inline-form button {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #1a4f9c;
    border-radius: 8px;
    background: #fff;
    color: #1a4f9c;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.auth-inline-form button:disabled {
    border-color: #bbb;
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.auth-delete-form {
    margin-top: 8px;
}

.auth-delete-form button {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #c62828;
    border-radius: 8px;
    background: #fff;
    color: #c62828;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.staff-wrap {
    align-items: flex-start;
    padding-top: 32px;
}

.staff-wrap .auth-card {
    max-width: 720px;
}
