/* 
 * SpotWorkerCore プラグイン用最小限スタイル
 * WordPress標準UIに準拠しつつ、必要な部分のみカスタマイズ
 */

.swc-client-profile,
.swc-contractor-profile {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #ddd;
    background-color: #fafafa;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.swc-client-profile h2,
.swc-contractor-profile h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.swc-client-profile h3,
.swc-contractor-profile h3 {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.swc-client-profile ul,
.swc-contractor-profile ul {
    list-style: disc inside;
    margin-left: 0;
    padding-left: 1em;
}

.swc-client-profile li,
.swc-contractor-profile li {
    margin-bottom: 0.3em;
}

.swc-client-profile button,
.swc-contractor-profile button {
    background: crimson;
    border: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 20px;
    padding: 0.1em 0.5em;
    margin-right: 0.5em;
    line-height: 1.5;
    font-size: 1em;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}


/* キャンセルボタン専用スタイル */
button.swc-cancel-employment {
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;     /* 垂直中央 */
    justify-content: center; /* 水平中央 */
    font-size: 1.2em;        /* ×の大きさ調整（お好みで） */
    line-height: 1;
    background: crimson;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-right: 0.5em;
    transition: background-color 0.3s ease;
    vertical-align: middle;
}

.swc-cancel-x {
    display: inline-block;
    position: relative;
    top: 0.03em; /* この値で中央に合わせて微調整してください */
    line-height: 1;
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

/* ホバー時の調整 */
button.swc-cancel-employment:hover {
    background: #ff4444;
    transform: scale(1.1);
}

.swc-client-profile button:hover,
.swc-contractor-profile button:hover {
    background: #a63d17;
}

.swc-client-profile button:focus,
.swc-contractor-profile button:focus {
    outline: 2px solid #000;
}

