/*
Theme Name: InsightHack
Description: InsightHack marketplace application theme.
Version: 0.1.4
Text Domain: insighthack
*/
/* ============================================================
   グローバル: 水平スクロール抑止 (#32)
   ------------------------------------------------------------
   .grecaptcha-badge / .dxwv-aihub-*__bg / .af-corner 等の
   装飾要素がビューポート外にはみ出し、モバイルで
   ヘッダー右端（ハンバーガー/会員登録ボタン）が見切れて見える
   ため、html 側で水平方向のはみ出しを切り取る。
   overflow-x: clip は position: sticky を破壊しないため採用。
   ============================================================ */
html {
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

/* ============================================================
   希望条件画面のカスタムスタイル
   ============================================================ */

/* 範囲入力フィールド */
.wt-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wt-range-inputs .form-control {
    flex: 1;
    max-width: 150px;
}

.wt-range-inputs .wt-separator {
    padding: 0 5px;
    color: #666;
}

.wt-range-inputs .wt-unit {
    white-space: nowrap;
    color: #666;
}

/* ラジオボタングループ */
.wt-radio-group {
    display: flex;
    gap: 20px;
}

.wt-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wt-radio input[type="radio"] {
    margin-right: 5px;
}

/* 文字数カウンター */
.wt-char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.wt-char-count .wt-current-count {
    font-weight: bold;
}

.wt-char-count .wt-error {
    color: #e74c3c;
}

/* 説明テキスト */
.wt-description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* セクションタイトル */
.wt-section-title {
    margin-bottom: 20px;
}

.wt-section-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* 更新ボタン */
.wt-updatebutton-wrap {
    margin-bottom: 20px;
}

.wt-updatebutton-bottom {
    margin-top: 30px;
    text-align: center;
}

.wt-btn-primary {
    background-color: #55acee;
    color: #fff;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wt-btn-primary:hover {
    background-color: #3c93d5;
}

/* 選択コンテナ */
.wt-selection-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* タグスタイル（任意） */
.wt-tag {
    display: inline-flex;
    align-items: center;
    background-color: #e8e8e8;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.wt-tag:hover {
    background-color: #d0d0d0;
}

.wt-tag-active {
    background-color: #55acee !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(85, 172, 238, 0.3);
}

/* ラジオオプション */
.wt-radio-options {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .wt-range-inputs {
        flex-wrap: wrap;
    }

    .wt-range-inputs .form-control {
        max-width: 100%;
    }

    .wt-radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* エラー表示 */
.wt-error {
    border-color: #e74c3c !important;
}

input.wt-error,
textarea.wt-error {
    background-color: #fee;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Contact Form 7: success is green; validation and delivery errors are red. */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #d4edda;
    /* Workreap sets the response border with !important for every status. */
    border-color: #c3e6cb !important;
    color: #155724;
}

.wpcf7 form:is(.invalid, .failed, .aborted, .spam, .unaccepted, .payment-required) .wpcf7-response-output {
    background-color: #f8d7da;
    border-color: #f5c6cb !important;
    color: #721c24;
}

/* ============================================================
   Search Projects: Apply now button hover behavior
   ============================================================ */
.wr-searchprojectlist .wr-project-option .wr-btn-solid-lg-lefticon {
    background-color: #f7f7f7;
    color: #1c1c1c;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wr-searchprojectlist .wr-project-option .wr-btn-solid-lg-lefticon a {
    color: #1c1c1c;
}

.wr-searchprojectlist .wr-project-wrapper:hover .wr-project-option .wr-btn-solid-lg-lefticon,
.wr-searchprojectlist .wr-project-wrapper:hover .wr-project-option .wr-btn-solid-lg-lefticon a {
    background-color: #f7f7f7;
    color: #1c1c1c;
}

.wr-searchprojectlist .wr-project-option .wr-btn-solid-lg-lefticon:hover,
.wr-searchprojectlist .wr-project-option .wr-btn-solid-lg-lefticon:focus {
    background-color: #1b8f51;
    color: #ffffff;
}

.wr-searchprojectlist .wr-project-option .wr-btn-solid-lg-lefticon:hover a,
.wr-searchprojectlist .wr-project-option .wr-btn-solid-lg-lefticon:focus a {
    color: #ffffff;
}

/* ============================================================
   Search Projects: hide author name and posted date
   ============================================================ */
.wr-search-project-page .wr-verified-info strong,
.wr-search-project-page .wr-projects-grid-item .wr-project-posted-date,
.wr-search-project-page .wr-projects-grid-item .wr-author-info {
    display: none !important;
}

/* ============================================================
   Header: user profile avatar fallback
   ============================================================ */
.wr-header-actions-wrapper .wr-navbarbtn .wr-nav-signin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef7f1;
    border: 1px solid #cfe9d7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wr-header-actions-wrapper .wr-navbarbtn .wr-nav-signin img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    font-size: 0;
}

@media (min-width: 1200px) {
    .wr-header-style-style-one .wr-themenavwrap {
        justify-content: flex-start;
    }

    .wr-header-style-style-one .wr-themenavwrap .wr-themenav {
        margin-left: auto;
        flex: 0 1 auto;
        justify-content: flex-end;
    }

    .wr-header-style-style-one .wr-themenav ul.menu {
        justify-content: flex-end;
    }

    .wr-header-style-style-one .wr-header-actions-wrapper {
        margin-left: 24px;
        flex: 0 0 auto;
    }
}

/* ============================================================
   Submit Proposal: back button (dashboard color policy)
   ============================================================ */
.wt-submit-proposal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--wr-green-500, #24a55a);
    background: linear-gradient(180deg, #f2fbf5 0%, #ffffff 100%);
    color: var(--wr-green-700, #1f7a4a);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(36, 165, 90, 0.12);
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wt-submit-proposal-back-btn i {
    font-size: 12px;
    line-height: 1;
}

.wt-submit-proposal-back-btn:hover,
.wt-submit-proposal-back-btn:focus {
    color: #ffffff;
    background: #218838;
    border-color: #218838;
    box-shadow: 0 10px 22px rgba(36, 165, 90, 0.25);
    transform: translateY(-1px);
    text-decoration: none;
}

.wt-submit-proposal-back-btn:focus-visible {
    outline: 2px solid rgba(36, 165, 90, 0.35);
    outline-offset: 2px;
}

/* Activity page: clickable project title */
.wt-activity-project-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wt-activity-project-title-link:hover,
.wt-activity-project-title-link:focus {
    color: var(--wr-green-500, #24a55a);
    text-decoration: none;
}

.wt-activity-project-title-link:active,
.wt-activity-project-title-link:visited {
    text-decoration: none;
}

.wt-activity-project-title-link:focus-visible {
    outline: 2px solid rgba(36, 165, 90, 0.35);
    outline-offset: 2px;
}

.page-template-dashboard .wr-proposal-btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.page-template-dashboard .wr-proposal-btn > a {
    float: none;
}

.page-template-dashboard .wr-proposal-btn .wr_submit_task[data-type="publish"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    min-width: 220px;
    flex: 0 0 auto;
    text-align: center;
}

.page-template-dashboard .wr-proposal-btn .wr-btn-solid-lg-lefticon.wr_submit_task[data-type="publish"] {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.page-template-dashboard .wr-proposal-btn .wr-btn-solid-lg-lefticon.wr_submit_task[data-type="publish"]:hover,
.page-template-dashboard .wr-proposal-btn .wr-btn-solid-lg-lefticon.wr_submit_task[data-type="publish"]:focus {
    background: #218838;
    border-color: #218838;
    color: #fff;
}

/* Dashboard project activity: align "Send now" with profile save button */
.page-template-dashboard .wr-project-comment-form .wr-form-btn .wr-btn-solid.wr-submit-project-commetns {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.page-template-dashboard .wr-project-comment-form .wr-form-btn .wr-btn-solid.wr-submit-project-commetns:hover,
.page-template-dashboard .wr-project-comment-form .wr-form-btn .wr-btn-solid.wr-submit-project-commetns:focus {
    background: #218838;
    border-color: #218838;
    color: #fff;
}

/* Add project template list: align "Use this template" with profile save button */
.page-template-dashboard .wr-template-list .wr-btn-solid-lg-lefticon.wr-duplicate-project {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.page-template-dashboard .wr-template-list .wr-btn-solid-lg-lefticon.wr-duplicate-project:hover,
.page-template-dashboard .wr-template-list .wr-btn-solid-lg-lefticon.wr-duplicate-project:focus {
    background: #218838;
    border-color: #218838;
    color: #fff;
}

/* Dashboard employer activity: collapsible hired-freelancer panel */
/* Activity forms must be able to shrink inside the provider's flex row. */
.page-template-dashboard .wt-project-activity-layout > .wr-projectstatus > .wr-projectsstatus {
    min-width: 0;
}

.page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable {
    align-items: stretch;
}

.page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable .wr-projectsstatus {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable .wr-projectstatus_users {
    transition: max-width 0.25s ease, width 0.25s ease;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel .wr-projectstatus_users {
        flex: 0 0 30%;
        width: 30%;
        max-width: 30%;
    }

    .page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel .wr-projectsstatus {
        flex: 0 0 70%;
        width: 70%;
        max-width: 70%;
    }

    .page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel.wt-users-panel-collapsed .wr-projectsstatus {
        flex: 1 1 calc(100% - 78px);
        width: calc(100% - 78px);
        max-width: calc(100% - 78px);
    }
}

.page-template-dashboard .wt-users-panel-toggle {
    width: 34px;
    height: 34px;
    border: 1px solid #d4e9dc;
    border-radius: 999px;
    background: #f4fbf6;
    color: #1f7a4a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-template-dashboard .wt-users-panel-toggle i {
    font-size: 13px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.page-template-dashboard .wt-users-panel-toggle:hover,
.page-template-dashboard .wt-users-panel-toggle:focus {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.page-template-dashboard .wt-users-panel-toggle:focus-visible {
    outline: 2px solid rgba(36, 165, 90, 0.35);
    outline-offset: 2px;
}

.page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel.wt-users-panel-collapsed .wr-projectstatus_users {
    flex: 0 0 78px;
    width: 78px;
    max-width: 78px;
}

.page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel.wt-users-panel-collapsed .wr-projectstatus_users .wr-propposal_title h5,
.page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel.wt-users-panel-collapsed .wr-projectstatus_users .wr-prouserslist {
    display: none !important;
}

.page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel.wt-users-panel-collapsed .wt-users-panel-toggle i {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel:not(.wt-users-panel-collapsed) .wr-prouserslist {
        display: block !important;
    }

    .page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel.wt-users-panel-collapsed .wr-prouserslist {
        display: none !important;
    }

    .page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel.wt-users-panel-collapsed .wr-projectstatus_users {
        width: 100%;
        max-width: 100%;
    }

    .page-template-dashboard .wr-projectstatus.wt-projectstatus-toggleable.wt-has-users-panel.wt-users-panel-collapsed .wr-projectstatus_users .wr-propposal_title h5 {
        display: block !important;
    }
}

@media (max-width: 576px) {
    .wt-submit-proposal-back-btn {
        padding: 9px 14px;
        font-size: 12px;
    }
}
/* Dashboard activity invoices: document sending UI mock */
body.wt-project-documents-modal-open {
    overflow: hidden;
}

.page-template-dashboard .wt-project-documents-mock {
    margin: 0 0 28px;
    padding: 20px;
    border: 1px solid #e1eee5;
    border-radius: 12px;
    background: #f8fcf9;
}

.page-template-dashboard .wt-project-documents-mock__head h5 {
    margin: 0;
    color: #1d2b1f;
    font-size: 20px;
    line-height: 1.3;
}

.page-template-dashboard .wt-project-documents-mock__head p {
    margin: 8px 0 0;
    color: #5f6662;
    font-size: 13px;
}

.page-template-dashboard .wt-project-documents-mock__hint {
    margin: 14px 0 0;
    color: #3c4540;
    font-size: 14px;
}

.page-template-dashboard .wt-project-documents-mock__card {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #deebdf;
    border-radius: 10px;
    background: #ffffff;
}

.page-template-dashboard .wt-project-documents-mock__card h6 {
    margin: 0 0 14px;
    color: #25352a;
    font-size: 16px;
    line-height: 1.4;
}

.page-template-dashboard .wt-project-documents-mock__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.page-template-dashboard .wt-project-documents-mock__card-head h6 {
    margin: 0;
}

.page-template-dashboard .wt-project-documents-mock__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.page-template-dashboard .wt-project-documents-mock__grid label,
.page-template-dashboard .wt-project-documents-mock__textarea,
.page-template-dashboard .wt-project-documents-mock__file {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.page-template-dashboard .wt-project-documents-mock__grid label > span,
.page-template-dashboard .wt-project-documents-mock__textarea > span,
.page-template-dashboard .wt-project-documents-mock__file > label {
    margin: 0;
    color: #33453a;
    font-size: 13px;
    font-weight: 600;
}

.page-template-dashboard .wt-project-documents-mock__grid input,
.page-template-dashboard .wt-project-documents-mock__grid select,
.page-template-dashboard .wt-project-documents-mock__textarea textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7e6db;
    border-radius: 8px;
    padding: 10px 12px;
    color: #1f2d24;
    background: #fff;
    box-sizing: border-box;
}

.page-template-dashboard .wt-project-documents-mock__textarea {
    margin-top: 12px;
}

.page-template-dashboard .wt-project-documents-mock__textarea textarea {
    min-height: 110px;
    resize: vertical;
}

.page-template-dashboard .wt-project-documents-mock__file {
    margin-top: 12px;
}

.page-template-dashboard .wt-project-documents-mock__file input[hidden] {
    display: none !important;
}

.page-template-dashboard .wt-project-documents-mock__file-picker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d7e6db;
    border-radius: 8px;
    background: #fff;
}

.page-template-dashboard .wt-project-documents-mock__file-picker .wt-doc-btn {
    flex-shrink: 0;
    min-height: 40px;
}

.page-template-dashboard .wt-project-documents-mock__file-status {
    flex: 1 1 180px;
    min-width: 0;
    margin: 0;
    color: #66726a;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.page-template-dashboard .wt-project-documents-mock__file em {
    color: #66726a;
    font-size: 12px;
    font-style: normal;
    line-height: 1.4;
}

.page-template-dashboard .wt-project-documents-mock__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.page-template-dashboard .wt-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 11px 16px;
    cursor: pointer;
}

.page-template-dashboard .wt-doc-btn--primary {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.page-template-dashboard .wt-doc-btn--plain {
    background: #fff;
    border-color: #d7e5dc;
    color: #4f5a53;
}

.page-template-dashboard .wt-doc-btn--jump {
    text-decoration: none;
}

.page-template-dashboard .wt-doc-btn--jump:hover,
.page-template-dashboard .wt-doc-btn--jump:focus {
    color: #fff;
    text-decoration: none;
    background: #218838;
    border-color: #218838;
}

.page-template-dashboard .wt-project-documents-mock__card--form {
    scroll-margin-top: 120px;
}

.page-template-dashboard .wt-project-documents-modal[hidden] {
    display: none !important;
}

.page-template-dashboard .wt-project-documents-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-template-dashboard .wt-project-documents-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 29, 21, 0.5);
}

.page-template-dashboard .wt-project-documents-modal__dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 14px;
    border: 1px solid #d9e8de;
    box-shadow: 0 24px 60px rgba(20, 39, 26, 0.18);
    overflow: hidden;
}

.page-template-dashboard .wt-project-documents-modal__dialog--detail {
    width: min(760px, 100%);
}

.page-template-dashboard .wt-project-documents-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e2eee5;
    background: #f6fbf8;
}

.page-template-dashboard .wt-project-documents-modal__header h5 {
    margin: 0;
    color: #1f2f24;
    font-size: 20px;
    line-height: 1.35;
}

.page-template-dashboard .wt-project-documents-modal__close {
    width: 38px;
    height: 38px;
    border: 1px solid #d0dfd5;
    border-radius: 50%;
    background: #fff;
    color: #3a4d3f;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.page-template-dashboard .wt-project-documents-modal__body {
    max-height: calc(100vh - 170px);
    padding: 20px;
    overflow-y: auto;
}

.page-template-dashboard .wt-project-documents-modal__body .wt-project-documents-mock__card {
    margin-top: 0;
    padding: 0;
    border: 0;
}

.page-template-dashboard .wt-project-documents-modal__body .wt-project-documents-mock__card h6 {
    display: none;
}

.page-template-dashboard .wt-project-documents-title {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.page-template-dashboard .wt-project-documents-title h5 {
    margin: 0;
}

.page-template-dashboard .wt-project-documents-detail-template {
    display: none !important;
}

.page-template-dashboard .wt-project-documents-detail {
    color: #33443a;
}

.page-template-dashboard .wt-project-documents-detail .wt-project-documents-mock__meta:last-child {
    margin-bottom: 0;
}

.page-template-dashboard .wt-project-documents-mock__table thead th {
    white-space: nowrap;
}

.page-template-dashboard .wt-doc-inline-actions {
    color: #59635d;
    font-size: 13px;
}

.page-template-dashboard .wt-doc-action-link {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0 8px 0 0;
    color: #1f7a4a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.page-template-dashboard .wt-doc-action-link:hover,
.page-template-dashboard .wt-doc-action-link:focus {
    color: #218838;
    text-decoration: underline;
}

.page-template-dashboard .wt-doc-action-link--danger {
    color: #d62828;
}

.page-template-dashboard .wt-doc-action-link--danger:hover,
.page-template-dashboard .wt-doc-action-link--danger:focus {
    color: #b91c1c;
    text-decoration: underline;
}

.page-template-dashboard .wt-project-documents-mock__detail-row td {
    background: #fbfdfb;
    border-top: 0;
}

.page-template-dashboard .wt-project-documents-mock__meta {
    font-size: 13px;
    line-height: 1.6;
    color: #33443a;
    margin: 0 0 8px;
}

.page-template-dashboard .wt-project-documents-mock__meta strong {
    color: #203126;
    margin-right: 6px;
}

.page-template-dashboard .wt-project-documents-mock__attachments a {
    display: inline-block;
    margin-right: 10px;
    color: #1f7a4a;
    text-decoration: none;
}

.page-template-dashboard .wt-project-documents-mock__attachments a:hover,
.page-template-dashboard .wt-project-documents-mock__attachments a:focus {
    text-decoration: underline;
}

.page-template-dashboard .wt-project-documents-mock__existing {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d7e5dc;
    background: #f6faf7;
    color: #4a5850;
    font-size: 12px;
}

@media (max-width: 991px) {
    .page-template-dashboard .wt-project-documents-mock {
        padding: 14px;
    }

    .page-template-dashboard .wt-project-documents-mock__card {
        padding: 12px;
    }

    .page-template-dashboard .wt-project-documents-mock__card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-template-dashboard .wt-project-documents-title {
        flex-direction: column;
        align-items: flex-end;
    }

    .page-template-dashboard .wt-project-documents-mock__grid {
        grid-template-columns: 1fr;
    }

    .page-template-dashboard .wt-project-documents-modal {
        padding: 14px;
    }

    .page-template-dashboard .wt-project-documents-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 28px);
    }

    .page-template-dashboard .wt-project-documents-modal__header {
        padding: 14px 16px;
    }

    .page-template-dashboard .wt-project-documents-modal__body {
        max-height: calc(100vh - 132px);
        padding: 14px;
    }
}

/* Dashboard projects root menu */
.page-template-dashboard .wt-projects-page--menu {
    padding-right: 20px;
}

.page-template-dashboard .wr-projects-menu-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-template-dashboard .wr-projects-menu-links li {
    margin-bottom: 10px;
}

.page-template-dashboard .wr-projects-menu-links li:last-child {
    margin-bottom: 0;
}

.page-template-dashboard .wr-projects-link {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s, box-shadow 0.2s;
    border: 1px solid #e9ecef;
}

.page-template-dashboard .wr-projects-link:hover {
    background: #eef8f2;
    border-color: #cfe9d7;
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-template-dashboard .wr-projects-link i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #28a745;
}

.page-template-dashboard .wr-projects-link span:first-of-type {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.page-template-dashboard .wr-projects-link-desc {
    font-size: 13px;
    color: #6c757d;
    font-weight: normal !important;
}

@media (max-width: 768px) {
    .page-template-dashboard .wt-projects-page--menu {
        padding-right: 0;
    }
}

/* Dashboard activity history pages */
.page-template-dashboard .wt-projects-page--activity-history .wt-activity-history-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.page-template-dashboard .wt-activity-history-card {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid #dbeadf;
    border-radius: 12px;
    background: #fff;
}

.page-template-dashboard .wt-activity-history-table {
    margin-bottom: 0;
}

.page-template-dashboard .wt-activity-history-table th {
    white-space: nowrap;
    vertical-align: middle;
}

.page-template-dashboard .wt-activity-history-table td {
    vertical-align: top;
}

.page-template-dashboard .wt-activity-history-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.page-template-dashboard .wt-activity-history-table--documents {
    min-width: 1420px;
}

.page-template-dashboard .wt-activity-history-table--reports {
    min-width: 1280px;
}

.page-template-dashboard .wt-activity-history-table--documents th,
.page-template-dashboard .wt-activity-history-table--documents td {
    white-space: nowrap;
}

.page-template-dashboard .wt-activity-history-link {
    color: #1f7a4a;
    text-decoration: none;
    font-weight: 600;
}

.page-template-dashboard .wt-activity-history-link:hover,
.page-template-dashboard .wt-activity-history-link:focus {
    color: #218838;
    text-decoration: underline;
}

.page-template-dashboard .wt-activity-history-cell-title {
    min-width: 260px;
}

.page-template-dashboard .wt-activity-history-table--reports .wt-activity-history-cell-title {
    min-width: 360px;
}

.page-template-dashboard .wt-activity-history-table--documents .wt-activity-history-cell-title {
    min-width: 340px;
}

.page-template-dashboard .wt-activity-history-table--documents .wt-activity-history-cell-user {
    min-width: 220px;
}

.page-template-dashboard .wt-activity-history-table--documents td[data-sort-key="project_status_order"],
.page-template-dashboard .wt-activity-history-table--reports td[data-sort-key="project_status_order"] {
    min-width: 140px;
}

.page-template-dashboard .wt-activity-history-table--documents .wt-activity-history-cell-doc-name {
    min-width: 320px;
}

.page-template-dashboard .wt-activity-history-cell-date {
    min-width: 180px;
    white-space: nowrap;
}

.page-template-dashboard .wt-activity-history-cell-content {
    min-width: 420px;
    white-space: normal;
    word-break: break-word;
}

.page-template-dashboard .wt-activity-history-sort {
    width: auto;
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
}

.page-template-dashboard .wt-activity-history-sort__label {
    flex: 1;
}

.page-template-dashboard .wt-activity-history-head-controls {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 100%;
}

.page-template-dashboard .wt-activity-history-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #b9c2bc;
    border-radius: 3px;
    padding: 0;
    background: #f5f7f6;
    color: #7f8b84;
    cursor: pointer;
}

.page-template-dashboard .wt-activity-history-filter-toggle__box {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-template-dashboard .wt-activity-history-filter-toggle__caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
}

.page-template-dashboard .wt-activity-history-filter-toggle:hover,
.page-template-dashboard .wt-activity-history-filter-toggle:focus {
    border-color: #1f7a4a;
    color: #1f7a4a;
    background: #eef7f1;
}

.page-template-dashboard .wt-activity-history-filter-toggle.is-active {
    border-color: #1f7a4a;
    color: #1f7a4a;
    background: #e6f3eb;
}

.page-template-dashboard .wt-activity-history-filter-popover {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: min(220px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid #d8e0db;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
}

.page-template-dashboard .wt-activity-history-filter-popover[hidden] {
    display: none !important;
}

.page-template-dashboard .wt-activity-history-filter-popover__title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #334039;
}

.page-template-dashboard .wt-activity-history-filter-popover__field {
    display: block;
    margin: 0 0 8px;
}

.page-template-dashboard .wt-activity-history-filter-popover__field span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    color: #5f6a64;
}

.page-template-dashboard .wt-activity-history-filter-popover__field input {
    width: 100%;
    height: 32px;
    border: 1px solid #d5ddd8;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 12px;
}

.page-template-dashboard .wt-activity-history-filter-popover__options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
    max-height: 160px;
    overflow-y: auto;
}

.page-template-dashboard .wt-activity-history-filter-popover__option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #334039;
    margin: 0;
}

.page-template-dashboard .wt-activity-history-filter-popover__actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.page-template-dashboard .wt-activity-history-filter-popover__btn {
    border: 1px solid #d0d8d3;
    border-radius: 6px;
    padding: 4px 8px;
    background: #fff;
    color: #51605a;
    font-size: 11px;
    line-height: 1.3;
    cursor: pointer;
}

.page-template-dashboard .wt-activity-history-filter-popover__btn:hover,
.page-template-dashboard .wt-activity-history-filter-popover__btn:focus {
    border-color: #1f7a4a;
    color: #1f7a4a;
}

.page-template-dashboard .wt-activity-history-sort__icons {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #95a29b;
    font-size: 10px;
    line-height: 1;
}

.page-template-dashboard .wt-activity-history-sort__icons i {
    display: block;
    line-height: 1;
}

.page-template-dashboard .wt-activity-history-sort.is-active .wt-activity-history-sort__icons {
    color: #1f7a4a;
}

.page-template-dashboard .wt-activity-history-sort.is-asc .wt-activity-history-sort__icons .wr-icon-chevron-down,
.page-template-dashboard .wt-activity-history-sort.is-desc .wt-activity-history-sort__icons .wr-icon-chevron-up {
    opacity: 0.35;
}

.page-template-dashboard .wt-activity-history-files {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-template-dashboard .wt-activity-history-files a {
    color: #1f7a4a;
    text-decoration: none;
    font-size: 13px;
}

.page-template-dashboard .wt-activity-history-files a:hover,
.page-template-dashboard .wt-activity-history-files a:focus {
    text-decoration: underline;
}

.page-template-dashboard .wt-activity-history-files-more {
    color: #5a665e;
    font-size: 12px;
}

.page-template-dashboard .wt-activity-history-pagination {
    margin-top: 18px;
}

.page-template-dashboard .wt-activity-history-pagination ul {
    margin: 0;
}

.page-template-dashboard .wt-activity-history-scroll-note {
    margin: 8px 2px 0;
    text-align: right;
    color: #98a29c;
    font-size: 11px;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .page-template-dashboard .wt-activity-history-card {
        padding: 12px;
    }
}


/* Role-aware activity tables, shared by project details and history. */
body.wt-user-dashboard {
    --wt-activity-accent: #176b50;
    --wt-activity-heading: #164d3c;
    --wt-activity-soft: #edf7f1;
    --wt-activity-stripe: #f7fbf8;
    --wt-activity-hover: #e6f3ec;
    --wt-activity-line: #d6e7dc;
    --wt-activity-ink: #203d30;
    --wt-activity-muted: #526c5f;
}

body.wt-user-dashboard.wr-role-employer {
    --wt-activity-accent: #245da8;
    --wt-activity-heading: #234b78;
    --wt-activity-soft: #edf4fc;
    --wt-activity-stripe: #f7faff;
    --wt-activity-hover: #e8f1fc;
    --wt-activity-line: #d7e3f1;
    --wt-activity-ink: #243d59;
    --wt-activity-muted: #556c85;
}

body.wt-user-dashboard .wt-activity-history-card {
    padding: 20px;
    border-color: var(--wt-activity-line);
    border-top: 3px solid var(--wt-activity-accent);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgb(24 50 40 / 4%);
}

body.wt-user-dashboard .wt-activity-history-table-wrap {
    border: 1px solid var(--wt-activity-line);
    border-radius: 12px;
    scrollbar-color: var(--wt-activity-accent) var(--wt-activity-soft);
    scrollbar-width: thin;
}

body.wt-user-dashboard :is(.wt-activity-history-table, .wt-project-activity-layout .wt-project-documents-mock__table) {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--wt-activity-ink);
    font-size: 14px;
    line-height: 1.65;
}

body.wt-user-dashboard :is(.wt-activity-history-table, .wt-project-activity-layout .wt-project-documents-mock__table) thead > tr > th {
    padding: 16px 18px;
    border-radius: 0;
    background: var(--wt-activity-heading);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.025em;
}

body.wt-user-dashboard .wt-project-activity-layout .wt-project-documents-mock__table thead th:first-child {
    border-top-left-radius: 10px;
}

body.wt-user-dashboard .wt-project-activity-layout .wt-project-documents-mock__table thead th:last-child {
    border-top-right-radius: 10px;
}

body.wt-user-dashboard :is(.wt-activity-history-table, .wt-project-activity-layout .wt-project-documents-mock__table) tbody > tr > td {
    padding: 19px 18px;
    border: 0;
    border-bottom: 1px solid var(--wt-activity-line);
    background: #fff;
    color: var(--wt-activity-ink);
    vertical-align: middle;
    overflow-wrap: anywhere;
    box-shadow: none;
}

body.wt-user-dashboard :is(.wt-activity-history-table, .wt-project-activity-layout .wt-project-documents-mock__table) tbody > tr:nth-child(even) > td {
    background: var(--wt-activity-stripe);
}

body.wt-user-dashboard :is(.wt-activity-history-table, .wt-project-activity-layout .wt-project-documents-mock__table) tbody > tr:is(:hover, :focus-within) > td {
    background: var(--wt-activity-hover);
}

body.wt-user-dashboard .wt-activity-history-table--reports .wt-activity-history-cell-user {
    min-width: 170px;
}

body.wt-user-dashboard .wt-activity-history-cell-date {
    color: var(--wt-activity-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

body.wt-user-dashboard :is(.wt-activity-history-link, .wt-activity-history-files a, .wt-project-activity-layout .wt-doc-action-link:not(.wt-doc-action-link--danger)) {
    color: var(--wt-activity-accent);
    text-underline-offset: 3px;
}

body.wt-user-dashboard .wt-project-activity-layout .wt-doc-action-link {
    display: inline-block;
    white-space: nowrap;
}

body.wt-user-dashboard.wr-role-employer .wt-project-documents-mock__table td:is(:nth-child(4), :nth-child(5)) {
    white-space: nowrap;
}

body.wt-user-dashboard .wt-project-activity-layout .wt-project-documents-mock__table tbody > tr > td {
    padding-inline: 12px;
}

body.wt-user-dashboard .wt-activity-history-table thead th i {
    padding-left: 0;
    color: inherit;
    font-size: 11px;
}

body.wt-user-dashboard .wt-activity-history-sort__icons,
body.wt-user-dashboard .wt-activity-history-sort.is-active .wt-activity-history-sort__icons {
    color: #fff;
}

body.wt-user-dashboard .wt-activity-history-filter-toggle {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: 7px;
    background: rgb(255 255 255 / 12%);
    color: #fff;
}

body.wt-user-dashboard .wt-activity-history-filter-toggle:is(:hover, :focus-visible, .is-active) {
    border-color: #fff;
    background: #fff;
    color: var(--wt-activity-heading);
}

body.wt-user-dashboard .wt-activity-history-filter-popover {
    border-color: var(--wt-activity-line);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 12px 36px rgb(24 50 60 / 16%);
}

body.wt-user-dashboard .wt-activity-history-filter-popover input {
    accent-color: var(--wt-activity-accent);
}

body.wt-user-dashboard .wt-activity-history-filter-popover__btn:is(:hover, :focus-visible) {
    border-color: var(--wt-activity-accent);
    color: var(--wt-activity-accent);
    background: var(--wt-activity-soft);
}

body.wt-user-dashboard .wt-activity-history-scroll-note {
    margin-top: 12px;
    color: var(--wt-activity-muted);
    font-size: 12px;
}

body.wt-user-dashboard .wt-project-activity-layout .wr-projectsactivity .wr-nav-tabs {
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid var(--wt-activity-line);
    background: var(--wt-activity-soft);
}

body.wt-user-dashboard .wt-project-activity-layout .wr-projectsactivity .wr-nav-tabs li {
    flex: 1;
    width: auto;
    min-width: 0;
}

body.wt-user-dashboard .wt-project-activity-layout .wr-projectsactivity .wr-nav-tabs li button {
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    color: var(--wt-activity-muted);
    background: transparent;
    font-weight: 600;
}

body.wt-user-dashboard .wt-project-activity-layout .wr-projectsactivity .wr-nav-tabs li button.active {
    color: var(--wt-activity-accent);
    background: #fff;
    box-shadow: 0 2px 6px rgb(24 50 60 / 8%);
}

/* Keep the tab strip separate from both the document toolbar and reports. */
body.wt-user-dashboard .wt-project-activity-layout :is(.wr-proinvoices, .wr-proactivity) {
    padding: 24px 30px 30px;
}

body.wt-user-dashboard .wt-project-activity-layout .wt-project-documents-title {
    margin: 0 0 24px;
}

body.wt-user-dashboard .wt-project-activity-layout :is(.wr-proactivity_list, .wr-proactivity_list .mCSB_container) > li {
    padding: 20px;
    border: 1px solid var(--wt-activity-line);
    border-inline-start: 3px solid var(--wt-activity-accent);
    border-radius: 12px;
    background: var(--wt-activity-stripe);
}

body.wt-user-dashboard .wt-project-activity-layout .wr-proactivity_info {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.wt-user-dashboard .wt-project-activity-layout .wr-uploadphoto p {
    overflow-wrap: anywhere;
}

body.wt-user-dashboard :is(.wt-activity-history-sort, .wt-activity-history-filter-toggle):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

body.wt-user-dashboard :is(.wt-activity-history-link, .wt-activity-history-files a, .wt-project-activity-layout button, .wt-activity-history-filter-popover button):focus-visible {
    outline: 2px solid var(--wt-activity-accent);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    body.wt-user-dashboard .wt-project-activity-layout :is(.wr-proinvoices, .wr-proactivity, .wr-uploadfile-doc) {
        padding: 20px 16px;
    }

    body.wt-user-dashboard .wt-project-activity-layout .wt-project-documents-title {
        margin-bottom: 20px;
    }

    body.wt-user-dashboard .wt-project-activity-layout :is(.wr-proactivity_list, .wr-proactivity_list .mCSB_container) > li {
        padding: 16px;
    }

    body.wt-user-dashboard .wt-project-activity-layout .wr-proactivity_info h6 span {
        display: block;
        margin: 4px 0 0;
    }

    body.wt-user-dashboard .wt-activity-history-card {
        padding: 12px;
        border-radius: 12px;
    }

    body.wt-user-dashboard .wt-project-activity-layout .wt-project-documents-mock__table tbody > tr > td {
        padding: 14px 16px;
    }

    body.wt-user-dashboard .wt-project-activity-layout .wt-project-documents-mock__table tbody > tr > td::before {
        color: var(--wt-activity-accent);
        font-weight: 600;
    }

    body.wt-user-dashboard .wt-project-activity-layout .wr-projectsactivity .wr-nav-tabs li button {
        padding: 12px 14px;
    }
}
/* ヘッダーは通常フロー内で固定し、直下に余白を作らない */
.wr-header:not(.wr-header-transparent).wr-header-style-one,
.wr-header:not(.wr-header-transparent).wr-header-style-three {
    position: sticky !important;
    top: 0 !important;
    width: 100%;
    z-index: 9999;
}

/* 管理バー有無に関わらず、追従時は最上部に固定する */
body.admin-bar .wr-header:not(.wr-header-transparent).wr-header-style-one,
body.admin-bar .wr-header:not(.wr-header-transparent).wr-header-style-three {
    top: 0 !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .wr-header:not(.wr-header-transparent).wr-header-style-one,
    body.admin-bar .wr-header:not(.wr-header-transparent).wr-header-style-three {
        top: 0 !important;
    }
}

.workreap-main {
    padding-top: 0;
}

/* ハンバーガーボタンが右にはみ出さないよう補正 */
.wr-header .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    max-width: 100%;
}

/* ============================================================
   Header: ログイン/会員登録 ボタン (#32)
   ------------------------------------------------------------
   PC(>=1200px)   : .wr-header-actions-wrapper 内のプラグイン出力に反映
   モバイル(<=1199px): ハンバーガーメニュー末尾の .wr-auth-menu-items に反映
   ============================================================ */

/* 共通ボタンスタイル: 親プラグインが出力する .wr-btn-solid-lg も上書きする */
.wr-header .wr-navbarbtn .wr-login,
.wr-header .wr-navbarbtn .wr-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none !important;
    margin: 0;
}

/* ログインボタン: 枠線スタイル */
.wr-header .wr-navbarbtn .wr-login {
    background: transparent;
    color: #1b8f51;
    border: 1px solid #1b8f51;
}

.wr-header .wr-navbarbtn .wr-login:hover {
    background: #eef7f1;
    color: #1b8f51;
}

/* 会員登録ボタン: 塗りつぶしスタイル */
.wr-header .wr-navbarbtn .wr-register {
    background: #1b8f51;
    color: #ffffff;
    border: 1px solid #1b8f51;
}

.wr-header .wr-navbarbtn .wr-register:hover {
    background: #21a45d;
    border-color: #21a45d;
    color: #ffffff;
}

/* PC(>=1200px): ハンバーガー内に注入した項目は非表示 */
@media screen and (min-width: 1200px) {
    .wr-auth-menu-items {
        display: none !important;
    }
}

/* モバイル(<=1199px): ヘッダー右端の認証ボタン群は非表示（ハンバーガーに統合） */
@media screen and (max-width: 1199px) {
    /* 未ログイン時のみ .wr-header-actions-wrapper 内は認証ボタンのみなので全体を隠す */
    body:not(.logged-in) .wr-header-actions-wrapper {
        display: none !important;
    }

    /* ハンバーガー内の認証ボタン: 親テーマの li a{padding:20px} を打ち消してボタン表示 */
    .wr-auth-menu-items {
        padding: 12px 20px !important;
        border-top: 1px solid #eee;
    }

    .wr-auth-menu-items .wr-navbarbtn {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    /* 親テーマ responsive-style.css の .wr-themenav ul.menu li .wr-login に
       margin: -20px -20px 20px !important が効くため、両ボタンで明示的に打ち消す */
    .wr-auth-menu-items .wr-btn,
    .wr-themenav ul.menu li.wr-auth-menu-items .wr-login,
    .wr-themenav ul.menu li.wr-auth-menu-items .wr-register {
        width: 100%;
        height: 44px;
        padding: 0 20px !important;
        margin: 0 !important;
        border: 1px solid #1b8f51 !important;
        border-bottom: 1px solid #1b8f51 !important;
    }
}
