* {
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', 'Vazirmatn', Tahoma, sans-serif;
    background: linear-gradient(135deg, #1a2a6c 0%, #2a5298 50%, #1a2a6c 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-container {
    max-width: 900px;
    width: 100%;
}

.page-title {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

    .page-title h1 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .page-title p {
        font-size: 1rem;
        opacity: 0.8;
    }

.module-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    border: 3px solid transparent;
}

    .module-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    .module-card.admin {
        border-color: #3498db;
    }

        .module-card.admin:hover {
            background: #ebf5fb;
        }

    .module-card.worker {
        border-color: #3498db;
    }

        .module-card.worker:hover {
            background: #ebf5fb;
        }

    .module-card.quality {
        border-color: #27ae60;
    }

        .module-card.quality:hover {
            background: #eafaf1;
        }

.module-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

.admin .module-icon {
    background: #ebf5fb;
    color: #3498db;
}

.worker .module-icon {
    background: #ebf5fb;
    color: #3498db;
}

.quality .module-icon {
    background: #eafaf1;
    color: #27ae60;
}

.module-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.module-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 1.5rem;
    }

    .module-card {
        padding: 20px;
        margin-bottom: 15px;
    }
}
