/* ============================================
   Reset & Base Styling
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   Link Styling
   ============================================ */
a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-duration) ease;
}

a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

a:active {
    color: var(--primary-800);
}

a:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-200);
    border-radius: 2px;
}

a:focus:not(:focus-visible) {
    box-shadow: none;
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ============================================
   Feather Icons - 基本スタイル
   ============================================ */
/* デフォルトのアイコンスタイル */
[data-feather],
svg.feather {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
}

/* サイズバリエーション */
.icon-xs {
    width: 12px !important;
    height: 12px !important;
}

.icon-sm {
    width: 14px !important;
    height: 14px !important;
}

.icon-md {
    width: 16px !important;
    height: 16px !important;
}

.icon-lg {
    width: 20px !important;
    height: 20px !important;
}

.icon-xl {
    width: 24px !important;
    height: 24px !important;
}
