/* modules_demo/static/src/css/modules_page.css */
/* 所有样式限定在 .odoo-web-navigation-page 内，不影响其他页面 */

.odoo-web-navigation-page {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

        .odoo-web-navigation-page .container {
            max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
        }

        /* 头部样式 - 居中设计，无圆角 */
        .odoo-web-navigation-page .header {
            margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #875A7B 0%, #714B67 100%);
    color: white;
    padding: 50px 30px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    width: 100vw; /* 使用视口宽度 */
    margin-left: calc(-50vw + 50%); /* 居中偏移计算 */
    left: 0;
        }

        /* 装饰背景元素 */
        .odoo-web-navigation-page .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>') repeat;
            opacity: 0.3;
        }

        .odoo-web-navigation-page .header h1 {
            font-size: 2.6rem;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .odoo-web-navigation-page .header .subtitle {
            font-size: 1.1rem;
            opacity: 0.9;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }

        /* 列布局容器 */
        .odoo-web-navigation-page .columns-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 40px;
        }

        /* 列样式 - 无阴影 */
        .odoo-web-navigation-page .column {
            background: white;
            border-radius: 8px;
            padding: 20px;
            border: 1px solid #eaeaea;
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        .odoo-web-navigation-page .column:hover {
            transform: translateY(-3px);
            border-color: #875A7B;
        }

        .odoo-web-navigation-page .column-title {
            color: #875A7B;
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
        }

        .odoo-web-navigation-page .column-icon {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: white;
            margin-right: 10px;
            background: linear-gradient(135deg, #875A7B, #9b6b8c);
        }

        /* 为不同列设置不同颜色 */
        .odoo-web-navigation-page .column:nth-child(2) .column-icon {
            background: linear-gradient(135deg, #3498db, #2980b9);
        }

        .odoo-web-navigation-page .column:nth-child(3) .column-icon {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
        }

        .odoo-web-navigation-page .column:nth-child(4) .column-icon {
            background: linear-gradient(135deg, #f39c12, #d35400);
        }

        .odoo-web-navigation-page .column:nth-child(5) .column-icon {
            background: linear-gradient(135deg, #9b59b6, #8e44ad);
        }

        .odoo-web-navigation-page .column:nth-child(6) .column-icon {
            background: linear-gradient(135deg, #1abc9c, #16a085);
        }

        .odoo-web-navigation-page .column:nth-child(7) .column-icon {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
        }

        .odoo-web-navigation-page .column:nth-child(8) .column-icon {
            background: linear-gradient(135deg, #34495e, #2c3e50);
        }

        /* 对应修改列标题颜色 */
        .odoo-web-navigation-page .column:nth-child(2) .column-title {
            color: #3498db;
        }

        .odoo-web-navigation-page .column:nth-child(3) .column-title {
            color: #2ecc71;
        }

        .odoo-web-navigation-page .column:nth-child(4) .column-title {
            color: #f39c12;
        }

        .odoo-web-navigation-page .column:nth-child(5) .column-title {
            color: #9b59b6;
        }

        .odoo-web-navigation-page .column:nth-child(6) .column-title {
            color: #1abc9c;
        }

        .odoo-web-navigation-page .column:nth-child(7) .column-title {
            color: #e74c3c;
        }

        .odoo-web-navigation-page .column:nth-child(8) .column-title {
            color: #34495e;
        }

        .odoo-web-navigation-page .module-list {
            list-style: none;
        }

        .odoo-web-navigation-page .module-item {
            padding: 12px 0;
            border-bottom: 1px solid #f5f5f5;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .odoo-web-navigation-page .module-item:last-child {
            border-bottom: none;
        }

        .odoo-web-navigation-page .module-item:hover {
            background-color: #f9f5f7;
            padding-left: 8px;
            border-radius: 4px;
        }

        .odoo-web-navigation-page .module-header {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }

        .odoo-web-navigation-page .module-icon {
            width: 26px;
            height: 26px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            color: white;
            margin-right: 10px;
            background: #875A7B;
        }

        /* 模块图标颜色与列保持一致 */
        .odoo-web-navigation-page .column:nth-child(1) .module-icon { background: #875A7B; }
        .odoo-web-navigation-page .column:nth-child(2) .module-icon { background: #3498db; }
        .odoo-web-navigation-page .column:nth-child(3) .module-icon { background: #2ecc71; }
        .odoo-web-navigation-page .column:nth-child(4) .module-icon { background: #f39c12; }
        .odoo-web-navigation-page .column:nth-child(5) .module-icon { background: #9b59b6; }
        .odoo-web-navigation-page .column:nth-child(6) .module-icon { background: #1abc9c; }
        .odoo-web-navigation-page .column:nth-child(7) .module-icon { background: #e74c3c; }
        .odoo-web-navigation-page .column:nth-child(8) .module-icon { background: #34495e; }

        .odoo-web-navigation-page .module-name {
            font-weight: 600;
            color: #333;
            font-size: 1rem;
            text-decoration: none;
        }

        .odoo-web-navigation-page .module-name:hover {
            color: #875A7B;
        }

        .odoo-web-navigation-page .column:nth-child(1) .module-name:hover { color: #875A7B; }
        .odoo-web-navigation-page .column:nth-child(2) .module-name:hover { color: #3498db; }
        .odoo-web-navigation-page .column:nth-child(3) .module-name:hover { color: #2ecc71; }
        .odoo-web-navigation-page .column:nth-child(4) .module-name:hover { color: #f39c12; }
        .odoo-web-navigation-page .column:nth-child(5) .module-name:hover { color: #9b59b6; }
        .odoo-web-navigation-page .column:nth-child(6) .module-name:hover { color: #1abc9c; }
        .odoo-web-navigation-page .column:nth-child(7) .module-name:hover { color: #e74c3c; }
        .odoo-web-navigation-page .column:nth-child(8) .module-name:hover { color: #34495e; }

        .odoo-web-navigation-page .module-description {
            color: #6c757d;
            font-size: 0.85rem;
            padding-left: 36px;
            line-height: 1.4;
        }

        /* 底部信息 - 无阴影 */
        .odoo-web-navigation-page .footer {
            text-align: center;
            padding: 20px;
            background: white;
            border-radius: 0; /* 取消圆角 */
            color: #6c757d;
            font-size: 0.9rem;
            border: 1px solid #eaeaea;
        }

        .odoo-web-navigation-page .footer p {
            margin-bottom: 8px;
        }

        /* 响应式设计 */
        @media (max-width: 1200px) {
            .odoo-web-navigation-page .columns-container {
                grid-template-columns: repeat(3, 1fr);
            }

            .odoo-web-navigation-page .header h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 900px) {
            .odoo-web-navigation-page .columns-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .odoo-web-navigation-page .header h1 {
                font-size: 1.9rem;
            }

            .odoo-web-navigation-page .header .subtitle {
                font-size: 1rem;
            }
        }

        @media (max-width: 600px) {
            .odoo-web-navigation-page .columns-container {
                grid-template-columns: 1fr;
            }

            .odoo-web-navigation-page .header {
                padding: 35px 20px;
            }

            .odoo-web-navigation-page .header h1 {
                font-size: 1.7rem;
            }

            .odoo-web-navigation-page .header .subtitle {
                font-size: 0.95rem;
            }
        }


