/* =======================
   SAIYU Tool Navi - アイコンCSS
   オリジナルSVGアイコン + ビビットカラー
   ======================= */

/* アイコン共通スタイル */
.icon-svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: all 0.3s ease;
}

/* クイックアクションアイコン */
.action-icon-svg {
    width: 48px;
    height: 48px;
    fill: white !important;
    color: white !important;
}

/* ナビゲーションアイコン */
.nav-icon-svg {
    width: 24px;
    height: 24px;
}

/* ビビットカラーパレット */
:root {
    /* ビビットカラー */
    --vivid-blue: #2563eb;
    --vivid-green: #16a34a;
    --vivid-orange: #ea580c;
    --vivid-purple: #9333ea;
    --vivid-red: #dc2626;
    --vivid-cyan: #06b6d4;
    --vivid-pink: #e91e63;
    --vivid-lime: #65a30d;
    
    /* グラデーション */
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-green: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    --gradient-orange: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    --gradient-purple: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    
    /* シャドウ強化 */
    --shadow-vivid: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-hover: 0 12px 35px rgba(0,0,0,0.2);
}

/* アクションカード - ビビットスタイル */
.action-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-vivid);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 160px;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.action-card:nth-child(1) {
    border-top: 4px solid var(--vivid-blue);
}
.action-card:nth-child(1)::before {
    background: var(--gradient-blue);
}
.action-card:nth-child(1):hover .action-icon-container {
    background: var(--gradient-blue);
}

.action-card:nth-child(2) {
    border-top: 4px solid var(--vivid-green);
}
.action-card:nth-child(2)::before {
    background: var(--gradient-green);
}
.action-card:nth-child(2):hover .action-icon-container {
    background: var(--gradient-green);
}

.action-card:nth-child(3) {
    border-top: 4px solid var(--vivid-orange);
}
.action-card:nth-child(3)::before {
    background: var(--gradient-orange);
}
.action-card:nth-child(3):hover .action-icon-container {
    background: var(--gradient-orange);
}

.action-card:nth-child(4) {
    border-top: 4px solid var(--vivid-purple);
}
.action-card:nth-child(4)::before {
    background: var(--gradient-purple);
}
.action-card:nth-child(4):hover .action-icon-container {
    background: var(--gradient-purple);
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* アイコンコンテナ - 塗りつぶし + 白抜き */
.action-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* 各ボタンのデフォルト背景色 - 強制適用 */
.action-card:nth-child(1) .action-icon-container {
    background: var(--vivid-blue) !important;
    color: white !important;
}

.action-card:nth-child(2) .action-icon-container {
    background: var(--vivid-green) !important;
    color: white !important;
}

.action-card:nth-child(3) .action-icon-container {
    background: var(--vivid-orange) !important;
    color: white !important;
}

.action-card:nth-child(4) .action-icon-container {
    background: var(--vivid-purple) !important;
    color: white !important;
}

.action-card:hover .action-icon-container {
    transform: scale(1.1);
}

/* ボトムナビ - ビビットスタイル */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    border-top: none;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
    padding: 8px 4px;
    gap: 6px;
    border-radius: 16px;
    margin: 0 4px;
}

.nav-item-container {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-item:hover .nav-item-container {
    background: #f1f5f9;
    transform: scale(1.1);
}

.nav-item-active .nav-item-container {
    background: var(--gradient-blue);
    color: white;
    transform: scale(1.05);
}

.nav-item-active {
    color: var(--vivid-blue);
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-item-active .nav-label {
    color: var(--vivid-blue);
}

/* ステータスカード - ビビット強化 */
.status-card {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-vivid);
    transition: all 0.3s ease;
    border-top: 3px solid #e2e8f0;
}

.status-card:nth-child(1) {
    border-top-color: var(--vivid-blue);
}
.status-card:nth-child(2) {
    border-top-color: var(--vivid-green);
}
.status-card:nth-child(3) {
    border-top-color: var(--vivid-orange);
}
.status-card:nth-child(4) {
    border-top-color: var(--vivid-red);
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.status-number {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ユーザー情報カード強化 */
.user-info {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-vivid);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--vivid-blue);
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ボタン強化 */
.btn-primary {
    background: var(--gradient-blue);
    color: white;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}