/* Custom styles for webmemo.tech */

/* * 遵守事項:
 * 1. @apply等のTailwindディレクティブは不使用。
 * 2. ブラウザが直接解釈可能な標準CSSプロパティのみで構成。
 */

/* 入力欄・セレクトボックスの統一 */
.wm-input {
    width: 100%;
    background-color: #ffffff;
    /* 枠線を太く、Slate-400相当の濃さに固定 */
    border: 2px solid #94a3b8; 
    border-radius: 1rem;
    padding: 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.2s;
    outline: none;
}

/* 入力欄フォーカス時 */
.wm-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(219, 234, 254, 1);
}

/* ラベルの統一 */
.wm-label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
    font-style: normal;
}

/* 結果表示カード：より「青み」の強い濃紺（Tailwind blue-900相当）へ変更 */
.wm-result-card {
    background-color: #1e3a8a; /* Slate系からBlue系へ変更 */
    border-radius: 1.5rem;
    padding: 1.5rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .wm-result-card {
        padding: 2.5rem;
    }
}

/* カード内の見出しラベル */
.wm-card-label {
    font-size: 10px;
    font-weight: 700;
    color: #bfdbfe;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    font-style: normal;
}

/* 汎用結果テキスト */
.wm-result-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    word-break: break-all;
    font-style: normal;
}

@media (min-width: 768px) {
    .wm-result-text {
        font-size: 2.25rem;
    }
}

/* コピーボタン */
.wm-btn-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
    cursor: pointer;
}

.wm-btn-copy:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* ページタイトル：スマホ・PC共に「タイトル感」を維持するサイズ */
h1.wm-tool-title {
    font-size: 1.875rem; /* 30px */
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    h1.wm-tool-title {
        font-size: 3rem; /* 48px */
    }
}

/* 斜体指定の強制解除 */
.italic, i, em {
    font-style: normal !important;
}

/* select要素の枠線維持 */
select.wm-input {
    appearance: auto;
}